From dfb5aa6dc69639fa311f197027703ece73b8d2d6 Mon Sep 17 00:00:00 2001 From: Albert ten Napel Date: Thu, 26 Jul 2018 22:03:37 +0200 Subject: [PATCH] caddytls: Remove weak cipher suites from the defaults. (#2227) --- caddytls/config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/caddytls/config.go b/caddytls/config.go index 9de8332a..7ecdb92e 100644 --- a/caddytls/config.go +++ b/caddytls/config.go @@ -623,8 +623,6 @@ var defaultCiphers = []uint16{ tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, - tls.TLS_RSA_WITH_AES_256_CBC_SHA, - tls.TLS_RSA_WITH_AES_128_CBC_SHA, } // List of ciphers we should prefer if native AESNI support is missing @@ -639,8 +637,6 @@ var defaultCiphersNonAESNI = []uint16{ tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, - tls.TLS_RSA_WITH_AES_256_CBC_SHA, - tls.TLS_RSA_WITH_AES_128_CBC_SHA, } // getPreferredDefaultCiphers returns an appropriate cipher suite to use, depending on