Diff

core/certmanager.lua @ 4890:7d4ec9609957

certmanager: no_ticket is not a verification option (thanks Zash)
author Matthew Wild <mwild1@gmail.com>
date Fri, 18 May 2012 01:50:51 +0100
parent 4889:0c5091b8b833
child 4899:0b8134015635
line wrap: on
line diff
--- a/core/certmanager.lua	Fri May 18 00:31:23 2012 +0100
+++ b/core/certmanager.lua	Fri May 18 01:50:51 2012 +0100
@@ -22,8 +22,8 @@
 -- Global SSL options if not overridden per-host
 local default_ssl_config = configmanager.get("*", "core", "ssl");
 local default_capath = "/etc/ssl/certs";
-local default_verify = (ssl and ssl.x509 and { "peer", "client_once", "continue", "ignore_purpose", "no_ticket" }) or "no_ticket";
-local default_options = { "no_sslv2" };
+local default_verify = (ssl and ssl.x509 and { "peer", "client_once", "continue", "ignore_purpose" }) or "none";
+local default_options = { "no_sslv2", "no_ticket" };
 
 function create_context(host, mode, user_ssl_config)
 	user_ssl_config = user_ssl_config or default_ssl_config;