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!

Manage SSL Hosts - Update Expiration

Discussion in 'General Discussion' started by sparek-3, Dec 5, 2014.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,761
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Is there a way to update or rebuild the WHM's Mange SSL Hosts certificate expiration date/database?

    The dates listed for the certificates are all wrong. Would be nice to have a way to rebuild this database so cPanel can keep up with the correct certificate expiration dates.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Are you using self-signed certificates for the services or are these certificates you have purchased from a provider? How off are the expiration dates?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,761
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    They are purchased certificates.

    I don't use the WHM interface to update the certificates when the certificates are renewed (too clunky, much easier to just do it from shell). Probably means there's no way to manually update whatever database the WHM reads this information from (it obviously doesn't get it from the certificate itself).
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can try moving the ssl.db and ssl.db.cache files out of the way in the /var/cpanel/ssl/installed directory.
    Then load WHM and go to SSL/TLS => Manage SSL Certificates and it should re-generate those files which I believe has the dates in it.

    This is untested so please make sure not to delete those files, just move them out of the way and if something goes wrong you can move them back.
     
    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