From 55204a1b21a1febc09909a87b152c2075516f0a7 Mon Sep 17 00:00:00 2001 From: Alexander Dahl Date: Tue, 20 Dec 2022 10:26:11 +0100 Subject: [PATCH] :wrench: prosody: Remove legacy TLS options Connections to server failed after Let's Encrypt certificate renew. --- files/prosody/jabber.n39.eu.cfg.lua | 37 +++++++++++------------------ 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/files/prosody/jabber.n39.eu.cfg.lua b/files/prosody/jabber.n39.eu.cfg.lua index 47d99ef..5168396 100644 --- a/files/prosody/jabber.n39.eu.cfg.lua +++ b/files/prosody/jabber.n39.eu.cfg.lua @@ -1,36 +1,27 @@ --- Section for example.com - VirtualHost "jabber.n39.eu" - - -- Assign this host a certificate for TLS, otherwise it would use the one - -- set in the global section (if any). - -- Note that old-style SSL on port 5223 only supports one certificate, and will always - -- use the global one. - ssl = { - key = "/etc/prosody/certs/jabber.n39.eu.key"; - certificate = "/etc/prosody/certs/jabber.n39.eu.pem"; - dhparam = "/etc/prosody/certs/dh-2048.pem"; - -- TODO for post 0.10 see http://prosody.im/doc/advanced_ssl_config again - options = { "no_sslv2", "no_sslv3", "no_ticket", "no_compression", "cipher_server_preference", "single_dh_use", "single_ecdh_use" }; - } +-- certificate = "/path/to/example.crt" ------ Components ------ -- You can specify components to add hosts that provide special services, -- like multi-user conferences, and transports. --- For more information on components, see http://prosody.im/doc/components +-- For more information on components, see https://prosody.im/doc/components --- Set up a MUC (multi-user chat) room server on conference.example.com: +---Set up a MUC (multi-user chat) room server on conference.example.com: --Component "conference.example.com" "muc" +--- Store MUC messages in an archive and allow users to access it +--modules_enabled = { "muc_mam" } Component "conference.jabber.n39.eu" "muc" --- Set up a SOCKS5 bytestream proxy for server-proxied file transfers: ---Component "proxy.example.com" "proxy65" - ----Set up an external component (default component port is 5347) ---Component "gateway.example.com" --- component_secret = "password" - -- alex: service discovery disco_items = { { "conference.jabber.n39.eu", "The Netz39 Multi-User-Chat" }; } + +---Set up an external component (default component port is 5347) +-- +-- External components allow adding various services, such as gateways/ +-- transports to other networks like ICQ, MSN and Yahoo. For more info +-- see: https://prosody.im/doc/components#adding_an_external_component +-- +--Component "gateway.example.com" +-- component_secret = "password"