aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-18 01:50:51 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-18 01:50:51 +0100
commit3faa06e9d4652e62a9eacd8c0baec85d3a3d4488 (patch)
treee37f7de5fc22dae0bb07977ad3792d3ffe9351aa
parent832a84b92b251976c11769ec69379c845a642c68 (diff)
downloadprosody-3faa06e9d4652e62a9eacd8c0baec85d3a3d4488.tar.gz
prosody-3faa06e9d4652e62a9eacd8c0baec85d3a3d4488.zip
certmanager: no_ticket is not a verification option (thanks Zash)
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 28de82b1..1b1615a1 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -22,8 +22,8 @@ module "certmanager"
-- 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;