Last active
January 9, 2017 09:53
-
-
Save yowcow/7cede3c0f2e9ce45afa1e6ea032585f0 to your computer and use it in GitHub Desktop.
letsencrypt create/renew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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