Last active
September 14, 2016 09:15
-
-
Save li9ht/1b0cd827ada3a5c599dadab283440509 to your computer and use it in GitHub Desktop.
letsencrypt and dokku
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
git clone https://github.com/letsencrypt/letsencrypt | |
cd letsencrypt | |
service nginx stop | |
./letsencrypt-auto certonly -d www.yourdomain.com | |
cert file location | |
/etc/letsencrypt/live/www.yourdomain.com/ | |
cat fullchain.pem > server.crt | |
cat privkey.pem > server.key | |
tar cvf certs.tar server.crt server.key | |
dokku certs:add yourapp < certs.tar | |
# check if certificates are installed. | |
dokku certs:info yourapp | |
service nginx restart | |
https://github.com/dokku/dokku-letsencrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment