Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Certificate does not match hostname

Discussion in 'Security' started by Adam Boustead, Dec 9, 2017.

Tags:
  1. Adam Boustead

    Adam Boustead Member

    Joined:
    Nov 30, 2017
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi all,

    I'm getting to grips with AutoSSL on a recently upgraded server. We have around 15 customers on this current server at the moment.

    Whilst setting up our SSL for our server hostname, after we have installed it on all our WHM services we checked using an SSL testing website to ensure it was valid.

    A couple of the checks said that the "Certificate does not match hostname" which is odd. It then says the cert is the AutoSSL cert thats been applied to the first account that we host alphabetically. I'm not sure if I'm missing something obvious here, as we've never had this issue in the past.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,792
    Likes Received:
    83
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    The hostname certificate is different. Do you have any subdomain created similar to the hostname of the server?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Adam Boustead

    Adam Boustead Member

    Joined:
    Nov 30, 2017
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    The hostname is a subdomain of my main domains

    i.e my main website (not hosted on the server) is yourdomain.co.uk

    My server hostname is server1.yourdomain.co.uk
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you using any custom Apache templates in the /var/cpanel/templates/apache2_4/ directory? Are you able to reproduce the issue outside of that online checker to verify that it's not a false-positive?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice