Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 9854:115b5e32d960
mod_tls: Restore querying for certificates on s2s
The 'ssl_config' setting in the mod_s2s network service is not used.
Only direct TLS ports use this currently.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Mar 2019 13:07:59 +0100 |
parent | 9852:6ea3cafb6ac3 |
child | 10111:0f335815244f |
comparison
equal
deleted
inserted
replaced
9853:9aea8dbb105d | 9854:115b5e32d960 |
---|---|
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 = { | 741 ssl_config = { -- FIXME This is not used atm, see mod_tls |
742 verify = { "peer", "client_once", }; | 742 verify = { "peer", "client_once", }; |
743 }; | 743 }; |
744 multiplex = { | 744 multiplex = { |
745 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>"; | 745 pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:server%1.*>"; |
746 }; | 746 }; |