Tuesday 21 January 2014

How to Setup WHM and CPANL so clients will be redirected to a valid SSL Certificate when logging in.

How to Setup WHM and CPANL so clients will be redirected to a valid SSL Certificate when logging in.

Instructions based on WHM v11.15.0

1) Purchase / Install the Certificate for your fully qualified domain (ie: server.domain.com)

SSL / TLS >> Install a SSL Certificate and Setup the Domain

2) Test your new CERT

https://server.domain.com/
should resolve and the cert should function properly before moving forward.

https://server.domain.com:2087/
should be giving you an invalid certificate error

3) Install the CERT for the WHM and CPANEL Service (this is the step you don't think about!!)

Service Configuration >> Manage Service SSL Certificates
> Select "Install New Certificate" for the "cPanel/WHM/Webmail Service"
> Select Domain this CRT is for "Browse"
> Pick the full server cert you installed "server.domain.com"
> Press "Submit" to install

4) Test your Service Certificate

https://server.domain.com:2087/

should now be working !! WHOOOO

Note: In "WHM >> Server Configuration >> Tweak Settings", under the "Redirection" tab, you can set the "SSL redirect destination" option to

"SSL Certificate Name"


This will ensure the request is redirected to the SSL Certificate hostname.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.