Last active
February 12, 2016 15:13
-
-
Save fabien7337/db16832e18c0fcc1a993 to your computer and use it in GitHub Desktop.
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
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
sudo service nginx stop | |
cd /opt/letsencrypt | |
./letsencrypt-auto certonly --standalone -d example.com -d www.example.com | |
# In Nginx conf file | |
ssl on; | |
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; | |
sudo service nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment