Let’s Encrypt SSL Installation
Print- 0
Objective
Blue Hill Hosting offers VPS customers pre-installed application images as add-ons at the time of ordering the VPS servers for quick and easy deployment of applications with a few clicks only.
This guide will provide the first steps for each and every pre-installed application web panels image on our VPS
This section only applies to WordPress, Drupal, Joomla and Prestashop installations. It will not work for other installations.
- You must create or edit two
Arecords in the Blue Web Hosting Control Panel which point to the IP address of your VPS server. For example, if your domain name is “bluehillhosting.com” then you need to createArecords for:- bluehillhosting.com
- www.bluehillhosting.com
- You may need to wait 24 hours before the two records propagate fully. You can always check it with mxtoolbox. If the IP for your domain is showing on MX toolbox the same as your server’s IP address then you can proceed to the next step.
- SSH into your server with the CentOS user and execute the following commands to install Certbot.
Replace bluehillhosting.com in the commands with your own domain name.
sudo -i dnf install -y epel-release dnf install -y certbot python3-certbot-apache mod_ssl echo "ServerName personaldomain.ovh;" >> /etc/httpd/conf/httpd.conf systemctl restart httpd
- Generate your SSL using Certbot (follow the on-screen instructions).
certbot certonly -d personaldomain.ovh --webroot
When asked about “Input the webroot”, you need to enter something like “/var/www/wordpress”. If you are installing Joomla, you need to replace “wordpress” with “joomla”.
Now you need to get Certbot to also place it into the ssl.conf file. To trigger this, enter:
certbot -d bluehillhosting.com --apache
When prompted, answer the first prompt with “1” and also the second prompt with “1”.
You should get the following output if your SSL has been generated:
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/bluehillhosting.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/bluehillhosting.com/privkey.pem
Your cert will expire on 2020-11-12. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew *all* of
your certificates, run "certbot renew"
Was this answer helpful?
Related Articles
Getting Started with VPS/dedicated Server Getting Started A dedicated server is a physical server located in one of our data centers....
Using the KVM for a VPS The KVM console allows you to connect directly to your VPS without using external software such...
Securing Your Server Update your Linux Server Keeping your Server upto date with the latest security patches secure...
How to use KVM for a VPS Objective The KVM console allows you to connect directly to your VPS without the need to use...
Pre-Installed applications on your Dedicated/VPS Servers Instructions If you want a Premium SSL Certificate - Click here Otherwise install a Free SSL...
Powered by WHMCompleteSolution

