mod_http: Update to disable peer verification with the new certmanager
authorKim Alvefur <zash@zash.se>
Sat, 19 Apr 2014 21:59:53 +0200
changeset 6086 3b4fde51fa25
parent 6085 2f911644f527
child 6087 821756a862b0
mod_http: Update to disable peer verification with the new certmanager
plugins/mod_http.lua
--- 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]";
 	};