Categories: Hostripples Featured

Installing Let’s Encrypt SSL on CentOS 7 Running Apache Web Server

Installing Let’s Encrypt SSL on CentOS 7 Running Apache Web Server

Before starting how to install Let’s Encrypt SSL on CentOS7 let’s first discuss :What is Let’s Encrypt SSL Certificate and why it is required?

Every customer wants to have a secured access to a website and also want to know that whether the product and the services offered by them are authenticate or not. Therefore Security of your website plays an important role in converting the visitor’s into customers. If you want to provide a secured service to the customer’s then it is required to purchase an Let’s Encrypt SSL Certificate.

From this overview we come to know that an SSL Certificate is required for the security of your website.

Sensitive data like credit card information, login information and a whole bunch of valuable information that needs to be encrypted and also needs to be secured. HTTPS simply makes encryption. When valuable information is transferring from the browser to the web server then if hackers try to pick up this encrypted data then it is really hard for them to decrypt it. Thus HTTPS means the website is secured.

Let’s go towards the installation part:

This blog will explain how to install Let’s Encrypt SSL Certificate on CentOS 7 Running Apache web Server

In this blog we will list how to install Let’ Encrypt SSL on CentOS 7 Running Apache Web Server

Note : Please replace pqr.com with your domain name which is maped with your server.
Let’s start with installing following dependencies in order to make Let’s Encrypt SSL work:

  • epel-release
  • mod_ssl
  • python-certbot-apache

1. Let’s first Install dependent modules

yum install epel-release mod_ssl

2. Now Download the Let’s Encrypt client

yum install python-certbot-apache

3. Let’s Set up the SSL certificate
SSL Certificate is quite easily manage by the Certbot. They will generate a new certificate for the domain which you have provided as a parameter.

In our case, we will be using pqr.com as the domain for which the certificate will be issued. Therefore following command will be used:

certbot –apache -d pqr.com

Following command is used for generating SSL Certificate for multiple domains or subdomains :

certbot –apache -d pqr.com -d www.pqr.com

Please Note : In above example first domain should be your base domain i.e. in our case it is pqr.com

Let’s Set up auto renewal of the SSL certificate:

For this it is required to create a new Cron job for the automatic renewal. You can easily schedule this cron job to run on every Monday at midnight:

crontab -e

0 0 * * 1 /usr/bin/certbot renew >> /var/log/sslrenew.log

Visit: Hostripples

 


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

The Science Behind Social Media Posting Times

In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…

6 days ago

Mastering Google Search Console: Tips for New Users

Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…

1 week ago

A Comprehensive Guide to Changing and Protecting the WordPress Login URL

If you’ve planned to launch a WordPress website, you might get a question, “How do I log in to WordPress?”…

2 weeks ago

The Ultimate Showdown: Linux vs Windows for VPS Hosting

As the demand for virtual private servers (VPS) continues to grow, businesses and individuals are faced with a crucial decision:…

1 month ago

Questions to Ask Your Web Hosting Support Team

Web hosting is a large industry, as many other factors help any web hosting provider to form a company. The…

1 month ago