aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-07-13 13:15:24 +0100
committerMatthew Wild <mwild1@gmail.com>2013-07-13 13:15:24 +0100
commitd26f2d0c6080fee5bf72c6fe453e478d1018e161 (patch)
tree57ce12d014761291c8314b8c9f77917f5c975070
parent22ed3b7430db18cd1d13b059536b0efbbfc3981e (diff)
downloadprosody-d26f2d0c6080fee5bf72c6fe453e478d1018e161.tar.gz
prosody-d26f2d0c6080fee5bf72c6fe453e478d1018e161.zip
certmanager: Set our own default cipher string, which includes only ciphers regarded as 'HIGH' strength (by OpenSSL). In particular this disables RC4.
-rw-r--r--core/certmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 4bcac40d..5dee5876 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -68,6 +68,7 @@ function create_context(host, mode, user_ssl_config)
options = user_ssl_config.options or default_options;
depth = user_ssl_config.depth;
curve = user_ssl_config.curve or "secp384r1";
+ ciphers = user_ssl_config.ciphers or "HIGH:!DSS:!aNULL@STRENGTH";
dhparam = user_ssl_config.dhparam;
};