Created
August 13, 2017 22:00
-
-
Save seriald/0f535297cd8d61ac6b11c1c563b5aa52 to your computer and use it in GitHub Desktop.
Renew LetsEncrypt Certificates
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
#Stop NGINX service | |
echo Stopping Web Services | |
cd /etc/init.d | |
./nginx stop | |
#Renew CERTS | |
echo Renewing Certificates | |
cd ~/letsencrypt | |
sudo ./letsencrypt-auto renew --no-self-upgrade | |
#Start NGINX service | |
echo Restarting Web Services | |
cd /etc/init.d | |
./nginx start | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment