Wednesday, October 14, 2020

How to install let's encrypt SSL in ubuntu

Install Let's Encrypt SSL

$ sudo apt-get update 

$ sudo apt-get install software-properties-common -y

$ sudo add-apt-repository universe

$ sudo add-apt-repository ppa:certbot/certbot

$ sudo apt-get update


+ Below use for Apache server


sudo apt-get install certbot python-certbot-apache -y


+ Below use for Nginx server


sudo apt-get install certbot python-certbot-nginx -y


+ install your certificates


$ sudo certbot --apache


+ Restart web-service

 

sudo service apache2 restart


Now, check your with htttps://domain_name.com

No comments:

Post a Comment

testing