How to issue a new cPanel SSL on server hostname

Have you ever installed cPanel on a server and it comes with an self signed SSL certificate? Or have you ever changed the hostname of your server and experienced issues accessing cpanel/WHM GUI via the browser? Well, here is the solution.

Cpanel offers free SSL verified by cPanel Inc. This is auto installed when you set up cPanel on a server or when it’s about to expire. But if the auto installation doesn’t occur for any reason, here is how you resolve it:

1. Login to the server via SSH as root

2. Verify cPanel License using the command below:

/usr/local/cpanel/cpkeyclt

3. Run the command below to check hostname SSL and replace it if it’s not valid

/usr/local/cpanel/bin/checkallsslcerts

Leave a Reply

Your email address will not be published. Required fields are marked *