How to Make A Free SSL Certificate on CentOS 7 Easy Guide

May 15, 2022 | By the+gnu+linux+evangelist.

GNU/Linux CentOS 7 Making Free SSL Certificate Guide

Hi! The Tutorial shows you Step-by-Step How to Create Free SSL Certificate in CentOS 7.x GNU/Linux.

And to Make Free SSL Certificate on CentOS 7 it’s easy because is enough to Install the needed Software and Execute some Basic Shell Commands.

Because to enable HTTPS on your Website, you need to get a Certificate from a Certificate Authority (CA) like Let’s Encrypt.

Thanks to letsencrypt.org following this procedure you’ll Get a Free SSL Certificate that is Valid also for a Web Commerce Site.

Most Noteworthy: Let’s Encrypt SSL Certificates are valid for 90 days. Therefore it’abosolutelly recommended Automatically Renewing your Certificates every 60 days.

So here included you’ll find also detailed Instructions on How to Automatically Renew your Free SSL Certificate.

Finally, this Setup is Valid also for All the others Red Hat Linux Based Distros like:

  • Red Hat Enterprise Linux
  • Oracle Enterprise Linux
  • Rocky Linux
  • AlmaLinux
How to Make a Free SSL Certificate on CentOS 7 - Featured
  1. 1. Enabling EPEL Repo

    How to Enable EPEL Repository for CentOS GNU/Linux

    Adding EPEL Repo for CentOS
  2. 2. Installing Certbot Software

    Then to Install Certbot on CentOS
    Just play:

    sudo yum install certbot
  3. 3. Making Free SSL Certificate

    Finally, to Create SSL Certificate
    First, install a required package:

    certbot certonly --webroot [WEBSERVERROOT] -d [DOMAINS]
    The [DOMAINS] must be a Comma separated List of Real and http Accessible Domains!
    For Instance:
    certbot certonly --webroot -w /var/www/html/example.com/ -d www.example.com,example.com
    And with this Command it’s possible to Generate a SSL Certificate for Multiple Websites…
    To do so Make a List with a comma like Separator.
    And then the Certificate will be Stored by default into:
    /etc/letsencrypt/live/
  4. 4. Setting Up SSL Certificate Renewal

    How to Setup Let’s Encrypt SSL Cert Renewal

    Get Auto SSL Certficate Renewal
  5. So Now I’m truly Happy if My Guide could Help you to Make a Free SSL Certificate on CentOS 7!


QuickChic Theme • Powered by WordPress