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.

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,382
    Likes Received:
    23
    Trophy Points:
    38
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,382
    Likes Received:
    23
    Trophy Points:
    38
    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:
    569
    Likes Received:
    15
    Trophy Points:
    18
    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.
     
Loading...

Share This Page