Skip to content

Instantly share code, notes, and snippets.

@thannaske
Created November 4, 2016 17:27
Show Gist options
  • Save thannaske/46ed02a23217afd515504cd008ef8562 to your computer and use it in GitHub Desktop.
Save thannaske/46ed02a23217afd515504cd008ef8562 to your computer and use it in GitHub Desktop.
Let's Encrypt Auto-Renew
# Assuming you are running Apache2 and managing the certificates yourself
certbot-auto renew --standalone --non-interactive -m [email protected] --force-renewal --agree-tos --no-self-upgrade --pre-hook "service apache2 stop" --post-hook "service apache2 start" --quiet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment