summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-08-02 08:52:46 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-08-02 08:52:46 +0200
commitdaaececa3063e4f0850fa173a7110e2aeab7468a (patch)
treef55d1635532d8a88889baf5db2dde9ea9ffe7740
parent2ced71ce987e587b43fc57f176adaa153aaa0211 (diff)
Certificates on prosody
-rw-r--r--source/self_hosting/modern_xmpp_server/index.rst16
1 files changed, 8 insertions, 8 deletions
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
<http://rtcquickstart.org/guide/multi/xmpp-server-prosody.html>`_ 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
+<https://prosody.im/doc/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
-<https://prosody.im/doc/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)