Skip to content

Instantly share code, notes, and snippets.

@Flowkap
Created August 27, 2018 17:29
Show Gist options
  • Save Flowkap/3cbbdb0daf0cf62395204aaa6f1d77b4 to your computer and use it in GitHub Desktop.
Save Flowkap/3cbbdb0daf0cf62395204aaa6f1d77b4 to your computer and use it in GitHub Desktop.
certbot manual upgrade
docker kill $(docker ps | grep aaa_http | awk '{print $1;}')
certbot certonly --standalone -d auth-dev.swarco.com --email florian.kappes@swarco.de --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