Skip to content

Instantly share code, notes, and snippets.

@seriald
Created August 13, 2017 22:00
Show Gist options
  • Save seriald/0f535297cd8d61ac6b11c1c563b5aa52 to your computer and use it in GitHub Desktop.
Save seriald/0f535297cd8d61ac6b11c1c563b5aa52 to your computer and use it in GitHub Desktop.
Renew LetsEncrypt Certificates
#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