Created
August 27, 2018 17:29
-
-
Save Flowkap/3cbbdb0daf0cf62395204aaa6f1d77b4 to your computer and use it in GitHub Desktop.
certbot manual upgrade
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
docker kill $(docker ps | grep aaa_http | awk '{print $1;}') | |
certbot certonly --standalone -d auth-dev.swarco.com --email [email protected] --agree-tos --preferred-challenges http-01 --non-interactive --force-renewal | |
cd /opt/aaa/nginx/certificates | |
cp /etc/letsencrypt/live/auth-dev.swarco.com/fullchain.pem server.crt | |
cp /etc/letsencrypt/live/auth-dev.swarco.com/privkey.pem server.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment