aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-04-19 21:59:53 +0200
committerKim Alvefur <zash@zash.se>2014-04-19 21:59:53 +0200
commitb9350a6264e1660077d2e5fedf87366329b4904b (patch)
treec370e94f8f9183843a707ce50c6d556d88b4fd4f
parent5d015f7fb0852703c254167f2a8db2e2173162eb (diff)
downloadprosody-b9350a6264e1660077d2e5fedf87366329b4904b.tar.gz
prosody-b9350a6264e1660077d2e5fedf87366329b4904b.zip
mod_http: Update to disable peer verification with the new certmanager
-rw-r--r--plugins/mod_http.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index d987ef74..49529ea2 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -142,7 +142,13 @@ module:provides("net", {
listener = server.listener;
default_port = 5281;
encryption = "ssl";
- ssl_config = { verify = "none" };
+ ssl_config = {
+ verify = {
+ peer = false,
+ client_once = false,
+ "none",
+ }
+ };
multiplex = {
pattern = "^[A-Z]";
};