GNU/Linux CentOS 7 Making Free SSL Certificate Guide
You are Welcome! 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 Guide is Valid also for All the others RedHat Linux Based Distros like:
- RedHat Enterprise Linux
- Rocky Linux
- Oracle Enterprise Linux
- Scientific Linux
1. Enabling EPEL Repo
Enable EPEL Repository for CentOS GNU/LinuxAdding EPEL Repo for CentOS
2. Installing Certbot Software
Then to Install Certbot on CentOS
sudo yum install certbot
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!
certbot certonly --webroot -w /var/www/html/example.com/ -d www.example.com,example.comAnd 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:
4. Setting Up SSL Certificate Renewal
How to Setup Let’s Encrypt SSL Cert RenewalGet Auto SSL Certficate Renewal
So Now I’m truly Happy if My Guide could Help You to Make a Free SSL Certificate on CentOS 7!