Generate and setup free hostname SSL on WHM with ZeroSSL

Generate and setup free hostname SSL on WHM with ZeroSSL

Step 1. Navigate to zerossl website and create a free account:

chrome mW9vD8sw7C 1024x517 - Generate and setup free hostname SSL on WHM with ZeroSSL

Start the process of generating an SSL by filling in the domain name:

chrome XcVu7ZYvrE - Generate and setup free hostname SSL on WHM with ZeroSSL

For Validity select 90 days

chrome x1S0doY6PE - Generate and setup free hostname SSL on WHM with ZeroSSL

and for CSR & Contact select the Free option

chrome s2IcB1QwfS - Generate and setup free hostname SSL on WHM with ZeroSSL

There are multiple verification methods available, for this example I will use the HTTP File Upload

chrome MzxMywAmNC - Generate and setup free hostname SSL on WHM with ZeroSSL

Download the file and save it on your device.


Step 2. Upload the verification file to the server.

cd /usr/local/apache/htdocs/.well-known/pki-validation/

make sure the name is the same as the original and test if you can call it by URL: https://yourserver-com/ /.well-known/pki-validation/FILENAMEHERE.txt

If you can open it by URL, go back to zerossl website and finish the verification process to get your new ssl.

ShareX 0LbbBXRMz3 - Generate and setup free hostname SSL on WHM with ZeroSSL

You should see your newly generated SSL and download the files.

ShareX HNKQqlpv9n - Generate and setup free hostname SSL on WHM with ZeroSSL

Step 3. Login to your WHM and navigate to Install an SSL Certificate on a Domain

Under Domain set the IP of the server and fill in the certificate along with the private key.

ShareX LNz8pNyG7l - Generate and setup free hostname SSL on WHM with ZeroSSL

Step 4. From WHM navigate to manage services ssl certificates - Generate and setup free hostname SSL on WHM with ZeroSSL Manage Service SSL Certificates

From the list of services select them all:

image 2 - Generate and setup free hostname SSL on WHM with ZeroSSL

Then click on Browse Certificates and under Apache select your SSL

ShareX WfughJ2JNw - Generate and setup free hostname SSL on WHM with ZeroSSL

Click on the “Use Certificate” button, then on “Install” button confirm the cpsrvd service restart.

that’s it.

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.