Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Aug 2010
    Location
    Brisbane, AU
    Posts
    45

    Question Getting SSL cert to work on server for cpanel/WHM login

    Hi guys,

    Having some trouble to get a SSL cert working on our server for accessing cpanel/WHM.

    Installing the SSL cert itself wasn't a big deal. Done that hundreds of times for 'normal' domains, but this now keeps me stumped:
    Let's say our server has the IP 123.123.123.123 and we used to log in via
    https://123.123.123.123:2087 to get to WHM. Normally the browser would come up with the big warning that the side is not trusted etc etc and we just added an exception. But now we are starting to let clients access their cpanel accounts and we normally would give them the address
    https://123.123.123.123:2083 to log into cpanel. Of course clients then will get the same security warning, which we would like to avoid.

    After a bit of research and consultation with RapidSSL (thats where we get our SSLs from), I found out that you can't get SSL certs for IPs. Fair enough. So what about our domain name? Lets say the server behind above IP is called
    server1.mydomain.com
    Logging in via
    https://server1.mydomain.com:2087 works fine so I installed an SSL cert for that domain name. Installation of the cert worked fine. Browsing to https://server1.mydomain.com (without the portnumber) comes up with the nice padlock we want. No security warning.

    BUT, and thats where I get lost, if I type in https://server1.mydomain.com:2087 to login to WHM, no padlock and the security warning again.

    What am I doing wrong?

    Cheers,
    Bjorn

  2. #2
    Member
    Join Date
    Aug 2010
    Location
    India
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Getting SSL cert to work on server for cpanel/WHM login

    Hi,

    You must understand that http and cpanel are two different services. Installing SSL for a domain in http will not be picked up when you access cpanel service. You can get rid of this warning using the "Main >> Service Configuration >> Manage Service SSL Certificates" option in WHM and install the cert for cpanel/WHM/Webmail Service or for all services if you would like.

    Thank you,
    Nibin.

  3. #3
    Member
    Join Date
    Aug 2010
    Location
    Brisbane, AU
    Posts
    45

    Default Re: Getting SSL cert to work on server for cpanel/WHM login

    Hi Nibin,

    Thanks for the reply.

    How could I oversee that function in WHM itself?!

    Anyway I got it to work now for https://server1.mydomain.com:2087 so I'm happy.

    Just out of curiosity: Is it possible to get it to work with the IP address itself? Like
    https://123.123.123.123:2087 ?

    Cheers,
    Bjorn

  4. #4
    Member
    Join Date
    Aug 2010
    Location
    India
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Getting SSL cert to work on server for cpanel/WHM login

    Hi Bjorn,

    You can access with IP. But it will pop up a warning in browser saying "the certificate is only valid for server1.mydomain.com"

    Thank you,
    Nibin.

  5. #5
    Member
    Join Date
    Aug 2010
    Location
    Brisbane, AU
    Posts
    45

    Default Re: Getting SSL cert to work on server for cpanel/WHM login

    Thanks nibin,

    I know that, but is it possible to access via IP and don't get the warning?

    Cheers,
    Bjorn

  6. #6
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Getting SSL cert to work on server for cpanel/WHM login

    Hello

    Quote Originally Posted by bmett View Post
    I know that, but is it possible to access via IP and don't get the warning?
    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.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. WHM SSL Cert Expired Can't Login - Need Help ASAP please!
    By zelf in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-15-2008, 06:50 PM
  2. Installing SSL Cert for cPanel/WHM Itself
    By jonwatson in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 06-18-2008, 08:54 AM
  3. Which SSL cert does WHM, cPanel and Webmail use?
    By d-woo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-26-2004, 04:37 PM
  4. Is WHM/cPanel safe w/SSL and no cert?
    By platypus in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-15-2004, 01:48 AM
  5. Cpanel/WHM SSL cert error during install?
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 25
    Last Post: 06-07-2003, 11:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube