Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-15 10:01:30 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-15 10:01:30 +0300
commitb04c6b7d7513025006847a4da1bdca34dc35f87f (patch)
tree35a43055ac10a4ddb2757d846deb18d022699b8a /ejabberd.yml.example
parentaf49472373bf31d4cf5a04847e882f1c82e6eaac (diff)
parentce99db05954a3170c4c5a5a45b18ea391fd86987 (diff)
Merge branch 'lets_encrypt_acme_support' of git://github.com/angelhof/ejabberd into angelhof-lets_encrypt_acme_support
Conflicts: rebar.config src/ejabberd_pkix.erl
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r--ejabberd.yml.example32
1 files changed, 32 insertions, 0 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index ffc6a26c7..05501400b 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -655,6 +655,38 @@ language: "en"
##
## captcha_limit: 5
+###. ====
+###' 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:
+
+ ## A contact mail that the ACME Certificate Authority can contact in case of
+ ## an authorization issue, such as a server-initiated certificate revocation.
+ ## It is not mandatory to provide an email address but it is highly suggested.
+ contact: "mailto:example-admin@example.com"
+
+
+ ## The ACME Certificate Authority URL.
+ ## This could either be:
+ ## - https://acme-v01.api.letsencrypt.org - (Default) for the production CA
+ ## - https://acme-staging.api.letsencrypt.org - for the staging CA
+ ## - http://localhost:4000 - for a local version of the CA
+ ca_url: "https://acme-v01.api.letsencrypt.org"
+
+## The directory in which certificates will be saved
+cert_dir: "/usr/local/var/lib/ejabberd/"
+
###. =======
###' MODULES