certmanager: Disable SSLv3 by default
authorKim Alvefur <zash@zash.se>
Thu, 31 Oct 2013 18:00:36 +0000 (19:00 +0100)
committerKim Alvefur <zash@zash.se>
Thu, 31 Oct 2013 18:00:36 +0000 (19:00 +0100)
core/certmanager.lua

index 350fb837af938958f3df2d9459fe0a60148f58df..e820c91427ffcb5816acd923c041b3b3afa72be2 100644 (file)
@@ -33,7 +33,7 @@ module "certmanager"
 local default_ssl_config = configmanager.get("*", "ssl");
 local default_capath = "/etc/ssl/certs";
 local default_verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none";
-local default_options = { "no_sslv2", luasec_has_noticket and "no_ticket" or nil };
+local default_options = { "no_sslv2", "no_sslv3", luasec_has_noticket and "no_ticket" or nil };
 local default_verifyext = { "lsec_continue", "lsec_ignore_purpose" };
 
 if ssl and not luasec_has_verifyext and ssl.x509 then