Changeset

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
parents 6085:2f911644f527
children 6087:821756a862b0
files plugins/mod_http.lua
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
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]";
 	};