How to Install LetsEncrypt SSL Certificate in Ubuntu Apache Server

 How to Install LetsEncrypt SSL Certificate in Ubuntu Apache Server

In this tutorial you will be able to install LetsEncrypt SSL certifcate in NGINX Ubuntu Server

Learn how to install Apache server in Ubuntu

Step 1 SSH
SSH into your Ubuntu server

Step 2 – Add Certbot PPA in Repository
Run the following commands to add Certbot PPA Repository

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update

Step 3 – Install Certbot

sudo apt-get install certbot python-certbot-apache

Step 4 – Choose how do you want to run Certbot

Let Certbot configured SSL certificate for you
Use the following command. It will configure certificate and modify Apache configuration automatically.

//Replace example.com with your domain name
sudo certbot --apache -d example.com -d www.example.com

Step 5 – Check autorenewal
You can check the auto renewal using below command. Certbot runs a cron job that will renew certificate before 30 days of expiry.

sudo certbot renew --dry-run

Step 6 – Check you website
Now open your domain to confirm the SSL certificate e.g. https://example.com.

Raman

Related post

6 Comments

  • Way cool! Some extremely valid points! I appreciate you writing this article plus the rest of the site is also very good.

  • Thank you for your blog article. Really thank you! Great. Kattie Baird Badger

  • Enjoyed every bit of your article. Much thanks again. Awesome. Martelle Corbin Uriia

  • Great, thanks for sharing this blog. Really Great. Janith Adan Diaz

  • Our community leaders need to read this, and look at developing some of your recommendations. Kamilah Shannon Doris Mellie Eldon Naam

  • You actually make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!| Golda Lammond Alfeus

Leave a Reply

Your email address will not be published. Required fields are marked *