Skip to content

Instantly share code, notes, and snippets.

@da-n
Created September 16, 2016 04:24
Show Gist options
  • Save da-n/918795220312306907c0ee2433e9aa2f to your computer and use it in GitHub Desktop.
Save da-n/918795220312306907c0ee2433e9aa2f to your computer and use it in GitHub Desktop.
Letsencrypt ini auto-renew config
# This script should be saved in ubuntu home folder and used in combination with
# a cron job running the following command (requires certbot-auto to be present
# in ubuntu user home directory)
#
# /home/ubuntu/certbot-auto renew --standalone --config /home/ubuntu/cli-renew.ini --quiet --pre-hook "service nginx stop" --post-hook "service nginx start"
# Use a 4096 bit RSA key instead of 2048
# rsa-key-size = 4096
# Uncomment and update to register with the specified e-mail address
email = [email protected]
# Uncomment and update to generate certificates for the specified
# domains (not required for renewal).
# domains = chestertonscalculator.com, reflex.us.seagateapp.com, reflex.seagateapp.com, myclever.com, www.myclever.com
# Uncomment to use a text interface instead of ncurses
text = True
# Agree TOS
agree-tos = True
# Renew by default
# renew-by-default = True
# Uncomment to use the standalone authenticator on port 443
authenticator = standalone
standalone-supported-challenges = tls-sni-01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment