-
OS: Astra Linux Special Edition Good time of day. We deployed Ejabberd with the conversejs module, there was a problem connecting to the site, you need to make exceptions for our domain. Is there a 100% instruction for obtaining an SLL certificate. After trying the instructions from the Internet, 90% do not work. `### ejabberd configuration fileThe parameters used in this configuration file are explained athttps://docs.ejabberd.im/admin/configurationThe configuration file is written in YAML.************************************************************** !!! WARNING !!! ************** YAML IS INDENTATION SENSITIVE ************** MAKE SURE YOU INDENT SECTIONS CORRECTLY **************************************************************Refer to http://en.wikipedia.org/wiki/YAML for the brief description.hosts:
loglevel: info If you already have certificates, list them herecertfiles:- /etc/letsencrypt/live/domain.tld/fullchain.pem- /etc/letsencrypt/live/domain.tld/privkey.pemlisten:
s2s_use_starttls: optional acl: access_rules: api_permissions: shaper: shaper_rules: modules: Local Variables:mode: yamlEnd:vim: set filetype=yaml tabstop=8`I also attach a picture |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
What does the error message say in english? Any errors/warnings in ejabberd.log? |
Beta Was this translation helpful? Give feedback.
-
Ok, so the cert is the issue. Now, HOW did you get the certificate? certbot? dehydrated acme client? acme.sh? ejabberd ACME client ? |
Beta Was this translation helpful? Give feedback.
-
Try this: |
Beta Was this translation helpful? Give feedback.
Try this:
cat /etc/letsencrypt/live/domain/privkey.pem /etc/letsencrypt/live/domain/fullchain.pem >> /etc/ejabberd/ejabberd.pem
then add /etc/ejabberd/ejabberd.pem to the yaml configuration file