Skip to content

Instantly share code, notes, and snippets.

@douglascrp
Created June 28, 2018 12:37
Show Gist options
  • Save douglascrp/8307e39e76c271e732b1820776c3250e to your computer and use it in GitHub Desktop.
Save douglascrp/8307e39e76c271e732b1820776c3250e to your computer and use it in GitHub Desktop.
Let's Encrypt certbot renew command
This is the command to be used in the cron schedule to have the certificates automatically renewed
certbot renew --pre-hook "service apache2 stop" --post-hook "service apache2 start" --authenticator standalone --agree-tos --email <email>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment