Self-managed VPS only: You're able to install "certbot" and automate certificate management.
Although we can't provide support under your Self-managed VPS fee, we're able to provide steps to ensure SSL coverage.
- Log-in to the SSH console of your CentOS VPS
ssh root@103.127.163.xyz
- We'll need to install the EPEL repository firstly:
sudo yum install epel-release
- Provided you're using standard configuration, install it:
sudo yum install certbot python2-certbot-apache mod_ssl
- Get certificates for the www & non-www of your domain name:
sudo certbot --apache -d example.com -d www.example.com
- Add a cron job to ensure that certificates are renewed on-time:
sudo crontab -e
- Press enter at the top to make a new line, then add to it:
0 0,12 * * * certbot renew
- Press enter at the top to make a new line, then add to it:
- That's it! You should now have coverage & automatic renewals!
- Once you've configured your web server (Apache), it should be HTTPS
- Make sure you take advantage of the information trove that is the internet for help!
NOTE: cPanel+WHM servers need not follow the above, as cPanel AutoSSL will do the same job and is built-in!