Software /
code /
prosody
Diff
plugins/mod_http.lua @ 6086:3b4fde51fa25
mod_http: Update to disable peer verification with the new certmanager
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Apr 2014 21:59:53 +0200 |
parent | 6027:8c69cea8a1bf |
child | 6504:e1659f32852e |
line wrap: on
line diff
--- a/plugins/mod_http.lua Fri Apr 18 07:51:41 2014 +0200 +++ b/plugins/mod_http.lua Sat Apr 19 21:59:53 2014 +0200 @@ -142,7 +142,13 @@ 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]"; };