Created
December 11, 2019 17:52
-
-
Save i5heu/acaa1c5019c2354614dd7b3906913b62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
certbot certonly --standalone -d im.openlibre.org | |
service nginx stop | |
rm /etc/ejabberd/ejabberd.pem | |
#cat /etc/letsencrypt/live/im.openlibre.org/fullchain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem >> /etc/ejabberd/ejabberd.pem | |
cat /etc/letsencrypt/live/im.openlibre.org/cert.pem /etc/letsencrypt/live/im.openlibre.org/chain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem > /etc/ejabberd/ejabberd.pem | |
chown ejabberd /etc/ejabberd/ejabberd.pem | |
service nginx start | |
service ejabberd restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment