D
D
Drno2018-09-13 18:05:16
Ejabberd
Drno, 2018-09-13 18:05:16

Question about ssl ejabberd?

Good day. Help setting up ssl for ejabberd.
There is a certificate from letsncrypt, there are 4 of them in the folder.
I want to get a manual on what and how to throw ejabberd so that clients accept this certificate.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Janus74, 2019-04-16
@Janus74

in my place with ejabberd, an Apache with a website lives on the server, I installed Certbot, added the domain on which the Jaber hangs to Apache, and requested certificates through Certbot
Then I wrote this in the ejabberd config:

certfiles:
        - "/etc/letsencrypt/live/<домен>/fullchain.pem"
        - "/etc/letsencrypt/live/<домен>/privkey.pem"
        - "/etc/letsencrypt/live/<домен>/chain.pem"
        #  - "/opt/ejabberd/conf/server.pem"
##  - "/etc/letsencrypt/live/localhost/fullchain.pem"
##  - "/etc/letsencrypt/live/localhost/privkey.pem"

        #ca_file: "/opt/ejabberd/conf/cacert.pem"
ca_file: "/etc/letsencrypt/live/<домен>/privkey.pem"

In general, for ejabberd there is a mod for letsencrypt. People seem to use it, it seems to work.
https://github.com/processone/ejabberd/pull/1959

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question