Don't accept RC4 as a cipher
This is in conformance with RFC7465
This commit is contained in:
parent
a769eb4767
commit
cc79e22ffe
4
main.go
4
main.go
@ -78,11 +78,9 @@ func main() {
|
||||
tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
|
||||
tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
|
||||
tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
|
||||
tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA,
|
||||
tls.TLS_RSA_WITH_AES_256_CBC_SHA,
|
||||
tls.TLS_RSA_WITH_AES_128_CBC_SHA,
|
||||
tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA,
|
||||
tls.TLS_RSA_WITH_RC4_128_SHA}
|
||||
tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA}
|
||||
|
||||
cert, err := tls.LoadX509KeyPair(*tlsCertFile, *tlsKeyFile)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user