Monday, May 18, 2020

Lets 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

Or

apt-get install git


Install letsencrypt cert.

git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt
./letsencrypt-auto


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:

Post a Comment