Tuesday, January 19, 2021

how to install free ssl on website

 
Note:- SSL Will Be Valid For 3 Months

 

Step 1) Install Snapd Package Installer Tool.

sudo apt update
sudo apt install snapd
sudo apt install core; sudo snap refresh core


Step 2) Install Certbot Package.

 

sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot

 

Step 3) Install SSL Cert Certificates, and fill the requirement details. 

 

  •  For Apache WebServer

sudo certbot --apache

 

  •  For Nginx WebServer 
sudo certbot --nginx

 



Step 4) Check & Verify SSL Validity On browser.

 

Step 5) Check & Verify SSL Validity On Server via Command Line.


sudo certbot certificates


 
 
 
  • Renew SSL Certificate
certbot renew --force-renewal
 
 

  For Renew the SSL Every 2 months and 25 days

 0 0 25 */2 * sudo certbot renew --dry-run

No comments:

Post a Comment

testing