Install Let’s Encrypt Free SSL | Linux Administration
Install Let’s Encrypt Free SSL | Linux Administration
Install free let’s encrypt SSL certificate to enhance the security of your website. It is a free certificate authority which to enable HTTPS on your website.
Download lets encrypt library.
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
Jump to /opt/letsencrypt directory.
cd /opt/letsencrypt/
Turn off the auto updates. —– OPTIONAL
./letsencrypt-auto --no-self-upgrade renew
Enter the document root path (example: /var/www/html/) and domain name (example.com) in below command for Let’s Encrypt SSL installation.
./certbot-auto --authenticator webroot --webroot-path document root of website --installer apache -d domain name
Auto Renew Of SSL Certificate.
crontab -e
Paste the below line in cron file.
15 5 * * 5
/opt/letsencrypt/
certbot-auto --authenticator webroot --webroot-path document root of website --installer apache -d domain name >> /var/log/le-renew.log
The cron job we have just created will renew an SSL certificate every Friday at 5:15 A.M. by running the following script.
Recent Comments