Last active
January 14, 2017 12:30
-
-
Save selimb86/5574b786101b7e6dbd6916b56b5db34d to your computer and use it in GitHub Desktop.
Generate LetsEncrypt certificates for use in your servers
This file contains 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
# Download the certbot and make it executable | |
wget https://dl.eff.org/certbot-auto | |
chmod a+x certbot-auto | |
# When using --standalone make sure to turn your servers are down | |
./certbot-auto certonly --standalone -d hostname.exemple.com | |
# Certifications will be created under: | |
# Certificate: /etc/letsencrypt/live/hostname.exemple.com/fullchain.pem; | |
# AND | |
# Private Key: /etc/letsencrypt/live/hostname.exemple.com/privkey.pem; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment