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!

ssl expired for hostname

Discussion in 'Security' started by keat63, Apr 20, 2018.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,030
    Likes Received:
    47
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    When trying to open webmail or whm cpanel, i'm seeing a message that the certificate has expired for hostname.mydomain.com.

    hostname.mydomain.com uses an invalid security certificate. The certificate expired on 20 April 2018, 00:59. The current time is 20 April 2018, 08:15.

    If I open up "manage ssl hosts", I can see a certificate generated for
    mail.mydomain.com
    mydomain.com
    www.mydomain.com

    but not hostname.mydomain.com

    If I generate a certificate for hostname.mydomain.com, it's registed with the user nobody.

    Any suggestions please.
     
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,030
    Likes Received:
    47
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    In WHM >> Home >> Service Configuration >> Manage Service SSL Certificates, i found the SSL certificates for the hostname.
    These had an expiry date of 29.03.19 (next year)

    I reset them regardless, and now I can log in without the expiry warning.

    The server was moved to a different part of the data centre last night, so was switched off for 15 minutes.
    Would the reboot have caused this ?

    edit:

    To add to this, I went back for another look and under certificate details, the cert was listed as being 'self signed'.
    I'm not sure if resetting the certificates changed them to self signed or they were always self signed ?
    I've now assigned the CPanel issued certificate.
     
    #2 keat63, Apr 20, 2018
    Last edited: Apr 20, 2018
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,517
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    Resetting the certificate would have automatically installed a self-signed certificate until a cPanel certificate was issued. What could have occurred (and this is just speculation) is that the certificate expired and the new cPanel certificate had not been issued to the server prior to the move, then when you reset the certificate it re-initiated the automated hostname SSL certificate process.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    1,030
    Likes Received:
    47
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    sounds plausible.
     
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