Answer the question
In order to leave comments, you need to log in
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
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"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question