From daaececa3063e4f0850fa173a7110e2aeab7468a Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 2 Aug 2024 08:52:46 +0200 Subject: Certificates on prosody --- source/self_hosting/modern_xmpp_server/index.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/self_hosting/modern_xmpp_server/index.rst b/source/self_hosting/modern_xmpp_server/index.rst index 79977d4..01c80ca 100644 --- a/source/self_hosting/modern_xmpp_server/index.rst +++ b/source/self_hosting/modern_xmpp_server/index.rst @@ -45,8 +45,14 @@ of the RTC QuickStart Guide `_ for more details. -With prosody 0.10+ you will also need to configure the location of the -certificate for https with a configuration stanza such as:: +.. _`Let's Encrypt`: https://letsencrypt.org/ + +Then see the `prosody documentation on certificates +`_ to see where to put certificates +so that prosody is able to autodetect them. + +If the autodetection fails, you can use a configuration stanza such as +the following to explicitely set a certificate location:: https_ssl = { certificate = "/etc/ssl/public/example.org.pem"; @@ -57,12 +63,6 @@ certificate for https with a configuration stanza such as:: key = "/etc/ssl/private/example.org-key.pem"; } -or see the `prosody documentation on certificates -`_ to see where to put certificates -so that prosody is able to autodetect them. - -.. _`Let's Encrypt`: https://letsencrypt.org/ - On your firewall, you'll need to open the following TCP ports: * 5222 (client2server) -- cgit v1.2.3