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.

SNI Serves Wrong SSL

Discussion in 'Security' started by batgranny, Aug 3, 2015.

  1. batgranny

    batgranny Member

    Joined:
    Aug 3, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    I have a website (example.co.uk) which includes an addon domain (example.com). I've added an SSL for each domain but when I load https://example.co.uk it serves up the certificate for https://example.com and generates a browser error. What do I need to do to fix this error? I've checked the Apache configuration and it appears that it is pointing to the correct SSL:

    SSLCertificateFile /var/cpanel/ssl/installed/certs/example_co_uk_9a1aa_$

    Any help or pointers would be greatly appreciated!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    sarhosting Well-Known Member

    Joined:
    Oct 1, 2007
    Messages:
    164
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi BatGranny,
    What do you see under Home » SSL/TLS » Manage SSL Hosts in WHM?
    Is the shared button already enabled for example.com or is it disabled?
     
  4. batgranny

    batgranny Member

    Joined:
    Aug 3, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    Thanks for the replies. The OS and WHM version are CENTOS 6.6 x86_64 and WHM 11.50.0 (build 10) so SNI is supported.

    The button is there so there is an option to share example.com (also .co.uk if I select it in the dropdown), should I enable it?
     
    #4 batgranny, Aug 4, 2015
    Last edited by a moderator: Aug 4, 2015
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. sarhosting

    sarhosting Well-Known Member

    Joined:
    Oct 1, 2007
    Messages:
    164
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Twitter:
    It is fine as is. Just wanted to see it if it got enabled before and in what way.
    The only difference I can see is our WHM running build 29 while you are on 10.
    I doubt that would matter and will see if I can replicate your issue on build 29.
     
  7. batgranny

    batgranny Member

    Joined:
    Aug 3, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    Oddly, I transferred the account to a WHM dev box which is running WHM 11.48.4 (build 4) and it worked fine so I suspect the problem is either a configuration issue or a problem with WHM itself.

    I've opened ticket number 6959777
     
    #7 batgranny, Aug 5, 2015
    Last edited by a moderator: Aug 5, 2015
  8. batgranny

    batgranny Member

    Joined:
    Aug 3, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ireland
    cPanel Access Level:
    Root Administrator
    This is now sorted. It turns out that the client was running a CDN which he neglected to mention until this morning, and the CDN only had the example.com SSL applied to it.
     
  9. sarhosting

    sarhosting Well-Known Member

    Joined:
    Oct 1, 2007
    Messages:
    164
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm that you go it sorted out. Have a good one. :)
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page