cPanel/WHM SSL for all websites cPanel access

Flegma

Registered
Sep 2, 2011
3
0
51
cPanel Access Level
Root Administrator
Hello,
i want to install SSL certificate for all domains hosted on my shared hosting. I purchased SSL cert for main domain and installed it. Made id primary and shared. Also, i went to Service configuration and "manage service ssl certificate" and installed it for all services.
When i go to maindomain.com/cpanel or /whm i have SSL installed, but when i go to any other domain1.com/cpanel or domain2.com/cpanel it says that ssl is not valid.
What should i do?

Thanks,
Leo.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

You can only install a single SSL certificate for services such as cPanel/WHM. Thus, a browser warning is displayed if a user connects to that service with a different domain name than the SSL certificate name. Most servers utilize a SSL certificate for the hostname, and then ensure access attempts to cPanel/WHM are redirected to the SSL Name or Hostname through the options under the "Redirection" tab in "WHM Home » Server Configuration » Tweak Settings".

Thank you.
 

Flegma

Registered
Sep 2, 2011
3
0
51
cPanel Access Level
Root Administrator
Thanks for a fast response. Which options should i choose there?
Is this ok?
Always redirect to SSL - Off
Non-SSL redirect destination - Hostname
SSL redirect destination - SSL redirect destination
Logout redirection URL - Logout redirection URL

whm-cpanel.png
 

Attachments

Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

This depends on your own preferences. For instance, did you install a SSL certificate for the server's hostname as the service certificate for cPanel/WHM/Webmail? If so, you could select either "Hostname" or "SSL Certificate Name" as the SSL redirect destination. You can click on the "?" link next to each option to see what it controls.

Thank you.