Software / code / prosody
Comparison
plugins/mod_http.lua @ 9852:6ea3cafb6ac3
core.certmanager: Do not ask for client certificates by default
Since it's mostly only mod_s2s that needs to request client
certificates it makes some sense to have mod_s2s ask for this, instead
of having eg mod_http ask to disable it.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 10 Mar 2019 19:58:28 +0100 |
| parent | 9797:071538a567d5 |
| child | 10258:4ff2f14f9ac7 |
comparison
equal
deleted
inserted
replaced
| 9851:75d2874502c3 | 9852:6ea3cafb6ac3 |
|---|---|
| 226 module:provides("net", { | 226 module:provides("net", { |
| 227 name = "https"; | 227 name = "https"; |
| 228 listener = server.listener; | 228 listener = server.listener; |
| 229 default_port = 5281; | 229 default_port = 5281; |
| 230 encryption = "ssl"; | 230 encryption = "ssl"; |
| 231 ssl_config = { | |
| 232 verify = "none"; | |
| 233 }; | |
| 234 multiplex = { | 231 multiplex = { |
| 235 pattern = "^[A-Z]"; | 232 pattern = "^[A-Z]"; |
| 236 }; | 233 }; |
| 237 }); | 234 }); |