How to install lets encrypt ssl certificate on aws ec2 linux instance with apache server
I decided to remove load balancer as i was incurring significant charges because of it , the problem propped up as I was getting free ssl certificate through aws certificate manager. As soon as I removed load balancer and changed the routing polices , my website was no longer encrypted with ssl. To solve it I decided to install lets encrypt ssl certificate using certbot , this article will discuss how to do the same in easy steps : 1) Open your command prompt or terminal and ssh into your aws instance 2) I have decided to use pip for installing it, 3) Create a virtual environment named certbot virtualenv ~/.certbot source ~/.certbot/bin/activate 4) Finally install certbot : pip install certbot 5) After installing create certificate for your website using the below command sudo ~/.certbot/bin/certbot certonly --webroot -w /var/www/html -d www.yourlocale.in -d yourlocale.in Replace with your own website domain This will ask few questions , agree to the terms and provide the e...