diff options
author | Konstantinos Kallas <konstantinos.kallas@hotmail.com> | 2017-11-14 15:12:33 +0300 |
---|---|---|
committer | Konstantinos Kallas <konstantinos.kallas@hotmail.com> | 2017-11-14 15:12:33 +0300 |
commit | ce99db05954a3170c4c5a5a45b18ea391fd86987 (patch) | |
tree | e24ee3e6fdfea15bad400a45ae84e2125a94657c /ejabberd.yml.example | |
parent | 78f494dd2eba0970b14247f1027f09b6a82efaf0 (diff) |
Explain what is needed for the acme configuration and other small changes
1. Add a request handler in ejabberd_http and explain how to configure the http listener so that the challenges can be solved.
2. Make acme configuration optional by providing defaults in ejabberd_acme.
3. Save the CA that the account has been created in so that it creates a new account when connecting to a new CA.
4. Small spec change in acme configuration.
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r-- | ejabberd.yml.example | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example index b9e117deb..aa80ef8d2 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -161,7 +161,6 @@ listen: "/ws": ejabberd_http_ws "/bosh": mod_bosh "/api": mod_http_api - "/.well-known": acme_challenge ## "/pub/archive": mod_http_fileserver web_admin: true ## register: true @@ -662,6 +661,17 @@ language: "en" ###. ==== ###' ACME +## +## In order to use the acme certificate acquiring through "Let's Encrypt" +## an http listener has to be configured to listen to port 80 so that +## the authorization challenges posed by "Let's Encrypt" can be solved. +## +## A simple way of doing this would be to add the following in the listen +## configuration field: +## - +## port: 80 +## ip: "::" +## module: ejabberd_http acme: |