Created
November 19, 2017 14:44
-
-
Save mdpuma/9332fbac671ca362348bc4a6b027189b to your computer and use it in GitHub Desktop.
renew letsencrypt ssl certificate solusvm
This file contains hidden or 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/bash -e | |
| DOMAIN=solusvm | |
| /root/certbot-auto renew | |
| cat /etc/letsencrypt/live/$DOMAIN/{privkey,cert}.pem > /usr/local/solusvm/ssl/cert.pem | |
| /etc/init.d/solusvm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment