From 55420591acd59a8337fe3c90939e52729ca5cff4 Mon Sep 17 00:00:00 2001 From: rscmbbng Date: Tue, 5 Feb 2019 18:46:17 +0100 Subject: [PATCH] fix cert path --- raw/configuring_an_xmpp_server_prosody_0.11.md | 7 ++----- raw/downloads/prosody.0.11.cfg.lua | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/raw/configuring_an_xmpp_server_prosody_0.11.md b/raw/configuring_an_xmpp_server_prosody_0.11.md index 74429d9..88c24a3 100644 --- a/raw/configuring_an_xmpp_server_prosody_0.11.md +++ b/raw/configuring_an_xmpp_server_prosody_0.11.md @@ -131,7 +131,7 @@ The homebrewserver.club prosody config allow_registration = false; -- Enable to allow people to register accounts on your server from their clients, for more information see http://prosody.im/doc/creating_accounts certificates = "/etc/prosody/certs" - https_certificate = "certs/myserver.org.crt" + https_certificate = "certs/uploads.myserver.org.crt" c2s_require_encryption = true -- Force clients to use encrypted connections @@ -194,10 +194,7 @@ Make Prosody import the LetsEncrypt certificates: You might get the following output: :::console - No certificate for host groups.myserver.org found :( - No certificate for host upload.myserver.org found :( - No certificate for host proxy.myserver.org found :( - Imported certificate and key for hosts myserver.org + Imported certificate and key for hosts myserver.org, groups.myserver.org, uploads.myserver.org, proxy.myserver.org However, no need to worry since the last certificate contains information for all the above subdomains. diff --git a/raw/downloads/prosody.0.11.cfg.lua b/raw/downloads/prosody.0.11.cfg.lua index df16714..6cfe146 100644 --- a/raw/downloads/prosody.0.11.cfg.lua +++ b/raw/downloads/prosody.0.11.cfg.lua @@ -37,7 +37,7 @@ allow_registration = false; -- Enable to allow people to register accounts on yo certificates = "/etc/prosody/certs" -- Path where prosody looks for the certificates see: https://prosody.im/doc/letsencrypt -https_certificate = "certs/myserver.org.crt" +https_certificate = "certs/groups.myserver.org.crt" c2s_require_encryption = true -- Force clients to use encrypted connections