Skip to content

Instantly share code, notes, and snippets.

@yowcow
Last active January 9, 2017 09:53
Show Gist options
  • Save yowcow/7cede3c0f2e9ce45afa1e6ea032585f0 to your computer and use it in GitHub Desktop.
Save yowcow/7cede3c0f2e9ce45afa1e6ea032585f0 to your computer and use it in GitHub Desktop.
letsencrypt create/renew
# Create a certificate
sudo letsencrypt certonly --webroot \ ~
-w /srv/path/to/document/root \
-d my.working.fqdn
# Help on renew. See Also: https://certbot.eff.org/docs/using.html#re-running-certbot
letsencrypt --help renew
# Update created certificates
sudo letsencrypt renew --agree-tos \
--post-hook "nginx -s reload"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment