• Anmol Sethi's avatar
    http2: require either ECDSA or RSA ciphersuite · a337091b
    Anmol Sethi authored
    The HTTP/2 RFC does indeed mandate TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
    but in practice, people are also using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
    becuase they are only using an ECDSA certificate. This is the case in acme/autocert.
    
    It doesn't make sense to enforce only RSA in cipher suites if it will
    never be used because they are using a ECDSA certificate.
    
    Change-Id: I86dac192a3eb9b74e4268310a3b550b3bd88a37f
    Reviewed-on: https://go-review.googlesource.com/30721Reviewed-by: 's avatarTom Bergan <tombergan@google.com>
    Run-TryBot: Tom Bergan <tombergan@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    a337091b
server_test.go 102 KB