Tuesday, June 14, 2016

Let's Encrypt certificate installation

Let's encrypt provides free ssl / tls certificate for 90 days, after 90 days you need to renew certificate.

Install git.
yum -y install git
apt-get install git

Install letsencrypt cert.
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt

Last command will install any remaining dependencies, and you will get prompt to enter / select website for which you want to generate certificate. This script will auto install certificate, once done restart apache for config to take effect.

No comments: