aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit14b50e4d76a5870c734d4d9b41b482448cd00e97 (patch)
treee37f7de5fc22dae0bb07977ad3792d3ffe9351aa /core
parent78933624f852469ef225e7bec4f16690a97c9644 (diff)
downloadprosody-14b50e4d76a5870c734d4d9b41b482448cd00e97.tar.gz
prosody-14b50e4d76a5870c734d4d9b41b482448cd00e97.zip
certmanager: no_ticket is not a verification option (thanks Zash)
Diffstat (limited to 'core')
-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;