[HTTPS] on centos using letsencrypt (Free SSL)
Right now, chrome browser will verify trusted ssl. If you use any ssl cert, it will show some warning which make users feel uncomfortable. Let's see which ssl we can use for free.
I have a chance to try one cert authority names 'Let's encrypt'
Please see the instructions how to use it.
My Environment
1. CentOS 7
Step
1. Install certbot client. https://certbot.eff.org/
2. Run certbot
sudo /usr/local/bin/certbot-auto certonly --standalone
https://certbot.eff.org/docs/install.html
3. Put your public and private key into secured folder e.g. /etc/letsencrypt/live/...
4. Run automatic renewal
Reference
[1] https://letsencrypt.org/
I have a chance to try one cert authority names 'Let's encrypt'
Please see the instructions how to use it.
My Environment
1. CentOS 7
Step
1. Install certbot client. https://certbot.eff.org/
- wget https://dl.eff.org/certbot-auto
- sudo mv certbot-auto /usr/local/bin/certbot-auto
- sudo chown root /usr/local/bin/certbot-auto
- sudo chmod 0755 /usr/local/bin/certbot-auto
2. Run certbot
sudo /usr/local/bin/certbot-auto certonly --standalone
https://certbot.eff.org/docs/install.html
3. Put your public and private key into secured folder e.g. /etc/letsencrypt/live/...
4. Run automatic renewal
echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot-auto renew" | sudo tee -a /etc/crontab > /dev/null
Reference
[1] https://letsencrypt.org/
Comments
Post a Comment