The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel serving wrong certificate upon login

Discussion in 'Security' started by solidarray, May 26, 2015.

  1. solidarray

    solidarray Member

    Joined:
    May 26, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I am having an issue with the ssl being served by cPanel/WHM upon visiting the login page.

    I have a DV ssl on hostname.server.com which points to my servers main shared ip. The same ssl is also assigned to the services in WHM > Manage Service SSL Certificates.

    I have a account created for domain.com that has a dedicated ip and its own DV ssl installed on it.

    I have tried a few different combinations of the following settings and yet to get the desired result. Tweak Settings > Redirections is currently set to:
    • Always redirect to SSL: off
    • Non-SSL redirect destination: original domain name
    • SSL redirect destination: SSL Certificate name

    I am seeking to access cpanel for domain.com at https://(with or without www.)domain.com:2083 or but so some reason that serves the certificate for hostname.server.com which obviously pops up with browser warnings.

    I have reviewed /usr/local/apache/conf/httpd.conf and couldn't spot anything that looked out of the ordinary.

    Any ideas would be greatly appreciated.
     
  2. solidarray

    solidarray Member

    Joined:
    May 26, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I have attempted to remove the certificates for both the hostname and the domain in question. I reinstalled the certificate on the services and the other cert on the domain. Still experiencing the same issue. The closest I get is a cpanel page that comes up asking if I do or do not have a firewall blocking port 2083. When I click 'do not' it brings up the correct url with the wrong certificate.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you experience the same behavior when enabling "Always redirect to SSL"? If so, could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  4. solidarray

    solidarray Member

    Joined:
    May 26, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    It does Michael. I appreciate your help and have submitted a ticket.
    Your Request id is: 6574735.
    Thanks,
     
    #4 solidarray, May 27, 2015
    Last edited: May 27, 2015
  5. solidarray

    solidarray Member

    Joined:
    May 26, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    I am happy to see the issue is now resolved. To clarify, you installed a SSL certificate via "Manage Service SSL Certificates" but you were actually hoping for SSL on a per-domain basis for each service.

    Thank you.
     
Loading...

Share This Page