Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.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 | 9784:7fa273f8869e |
child | 9854:115b5e32d960 |
comparison
equal
deleted
inserted
replaced
9851:75d2874502c3 | 9852:6ea3cafb6ac3 |
---|---|
736 module:provides("net", { | 736 module:provides("net", { |
737 name = "s2s"; | 737 name = "s2s"; |
738 listener = listener; | 738 listener = listener; |
739 default_port = 5269; | 739 default_port = 5269; |
740 encryption = "starttls"; | 740 encryption = "starttls"; |
741 ssl_config = { | |
742 verify = { "peer", "client_once", }; | |
743 }; | |
741 multiplex = { | 744 multiplex = { |
742 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>"; | 745 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>"; |
743 }; | 746 }; |
744 }); | 747 }); |
745 | 748 |