Comparison

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
comparison
equal deleted inserted replaced
6085:2f911644f527 6086:3b4fde51fa25
140 module:provides("net", { 140 module:provides("net", {
141 name = "https"; 141 name = "https";
142 listener = server.listener; 142 listener = server.listener;
143 default_port = 5281; 143 default_port = 5281;
144 encryption = "ssl"; 144 encryption = "ssl";
145 ssl_config = { verify = "none" }; 145 ssl_config = {
146 verify = {
147 peer = false,
148 client_once = false,
149 "none",
150 }
151 };
146 multiplex = { 152 multiplex = {
147 pattern = "^[A-Z]"; 153 pattern = "^[A-Z]";
148 }; 154 };
149 }); 155 });