aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitbe21fe5f3677f0431919357e330ab39991622606 (patch)
treec370e94f8f9183843a707ce50c6d556d88b4fd4f /plugins
parenteabebea1486c9547e72083630d2ae025e2070300 (diff)
downloadprosody-be21fe5f3677f0431919357e330ab39991622606.tar.gz
prosody-be21fe5f3677f0431919357e330ab39991622606.zip
mod_http: Update to disable peer verification with the new certmanager
Diffstat (limited to 'plugins')
-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]";
};