Created
June 13, 2019 04:34
-
-
Save worldwise001/a4582bc33609855afb38b3846fc89423 to your computer and use it in GitHub Desktop.
cert_renewal.sh (ArchLinux)
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
#!/bin/sh | |
systemctl stop nginx | |
certbot renew --authenticator standalone --agree-tos | |
systemctl start nginx | |
systemctl restart slapd | |
systemctl restart dovecot | |
systemctl restart exim | |
cat /etc/letsencrypt/live/x.shh.sh/chain.pem /etc/ssl/certs/DST_Root_CA_X3.pem > /srv/common/slapd.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment