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

Crafting a Professional Email: Step-by-Step Guide

Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…

1 day ago

Demystifying SSL: What Every Website Owner Should Know

As the digital landscape continues to evolve, securing your website has never been more crucial. SSL, or Secure Sockets Layer,…

1 week ago

Cyberduck and FileZilla: A Comprehensive Comparison

As a web designer and web developer your experience must have reached to new height, right? Further, you need to…

1 month ago

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…

1 month 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 month ago