You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this script is to renew the letsencrypt cert and concatenate the private key and the certificate into one .pem file as stated in the Readme.
Running the container
Here I get stuck:
root@labor:~/ejabberd-compose# docker-compose up
Starting ejabberdcompose_ejabberd_1
Starting ejabberdcompose_ejabberd-data_1
Attaching to ejabberdcompose_ejabberd-data_1, ejabberdcompose_ejabberd_1
ejabberdcompose_ejabberd-data_1 exited with code 0
ejabberd_1 | Writing EJABBERD_SSLCERT_HOST to /opt/ejabberd/ssl/host.pem
ejabberd_1 | /opt/ejabberd/scripts/pre/01_write_certifiates_from_env.sh: line 17: /opt/ejabberd/ssl/host.pem: Permission denied
ejabberdcompose_ejabberd_1 exited with code 1
Why does it try to overwrite the exisiting host.pem? Is it malformed?
The text was updated successfully, but these errors were encountered:
Hi, I could use some help in integrating Letsencrypt with ejabberd. When we get this done, I'd be happy to expand the Readme with this topic.
Here is how far I have come:
Basic setup with docker compose
I decided to to use docker-compose and put all the files into a folder
ejabberd-compose
:root@labor:~/ejabberd-compose# cat docker-compose.yml
The idea was to provide ejabberd with the SSL certs ready for consumption, so that the volume can stay read-only.
Basic letsencrypt setup
Initial setup for domain
labor.bugabinga.net
root@labor:~/ejabberd-compose# letsencrypt certonly --standalone
Crontab script for renewal:
root@labor:~/ejabberd-compose# cat cron/renew_ssl.sh
The goal of this script is to renew the letsencrypt cert and concatenate the private key and the certificate into one
.pem
file as stated in the Readme.Running the container
Here I get stuck:
Why does it try to overwrite the exisiting
host.pem
? Is it malformed?The text was updated successfully, but these errors were encountered: