Secure Apache with Let’s Encrypt SSL on Ubuntu Linux

We should Let’s Encrypt is a Certificate Authority (CA) that gives a simple method to acquire and introduce free TLS/SSL declarations, along these lines empowering encoded HTTPS on web servers. It rearranges the procedure by giving a product customer, Certbot, that endeavors to mechanize most (if not the entirety) of the necessary advances. At present, the whole procedure of getting and introducing a declaration is completely mechanized on both Apache and Nginx.

In this post, We will install and configure Let’s Encrypt ssl using Apache2 Web Server.

Step 1: Verify Domain Pointing

Your domain must pointing with Apache Web server public IP, To verify domain pointing by using the command.

nslookup www.domain.com

You should get the your apache server public ip, in my case i am using www.example.com.

Step 2: Update System

You need to update the ubuntu current repository by using the command.

sudo apt-get update 

Step 3: Install Certbot

You need to install Certbot tool that help you auto configure on Apache2 Web Server by using the command.

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

Step 4: Activation of SSL Certificate

You the following command for activation of your domain ssl certification.

sudo certbot --apache -d example.com -d www.example.com

Its auto verify the domain and its will create all required files to configure in virtualhost ssl parameter, After installation and configuration, You will get the successful message, Now you can access with yours domain like this.

https://www.example.com

Conclusion

Here we have successfully installed and configure lets encrypt valid certificate with apache web server, Still have a any query, Please leave a message below :-

Secure Apache with Let’s Encrypt SSL on Ubuntu Linux

Leave a Reply

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

Scroll to top