Get Free SSL Certificate with Apache on Centos 7 VPS | Install Let's Encrypt
Learn how to get free SSL certificate with Apache on Centos 7 VPS. The tutorial will guide you on the step-by-step guide on how to retrieve Let’s Encrypt SSL certificate using Certbot client tool.
First off, you will learn the proper way to install Certbot client package on Centos 7 vps. Next, you will learn how to retrieve the SSL certificate using Certbot client. Meanwhile, I will show how to fix the common Apache configuration error generated by Certbot client tool.
Finally, you will how to automatically renew the SSL certificate using cron job and certbot.
Enjoy the tutorial~ 😀😀😀
PREREQUISITES:
1) Initial server setup on Centos 7 VPS: https://youtu.be/9p54edsQ1Iw
2) How to Install LAMP stack on Centos 7: VPS: https://youtu.be/qTE0C0kUavk
3) How to Install WordPress with Apache on Centos 7: https://youtu.be/JMdk6V3Hyys
Recommended Video:
Vultr Vs Digital Ocean: https://youtu.be/-4rsmOWbN60
Get $50 Free Credit from Vultr Cloud VPS: http://bit.ly/2SQOQx3
COMMAND USED IN VIDEO:
sudo yum update -y && sudo yum upgrade -y
sudo yum install epel-release -y
sudo yum install certbot python2-certbot-apache mod_ssl -y
sudo certbot –version
sudo certbot –apache -d chamnes.xyz
sudo vi /etc/httpd/conf.d/chamnes.xyz.conf
** WARNING **
* REPLACE [ with open angle bracket
* REPLACE ] with close angle bracket
[VirtualHost *:80]
ServerAdmin admin@chamnes.xyz
ServerName chamnes.xyz
ServerAlias chamnes.xyz
DocumentRoot /var/www/html
[/VirtualHost]
sudo systemctl restart httpd
https://www.ssllabs.com/ssltest/analyze.html?d=chamnes.xyz
sudo certbot renew –dry-run
sudo crontab -e
0 0,12 * * * python -c ‘import random; import time; time.sleep(random.random() * 3600)’ && certbot renew
HELP ME BUYING NEW EQUIPMENT
https://paypal.me/kimofficial
centos 7