Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default WHM using expired SSL instead of the installed cert

    I am a bit stuck on this, if anyone can help, it would be much apprecaited.

    My TLS/SSL cert was expiring so I installed a new one a few weeks back. But, now it looks like WHM is using the old expired certificate instead of the new one. Strange thing is, when I go to "Main >> Service Configuration >> Manage Service SSL Certificates" it shows the new cert installed!

    Anyone got any advice or suggestions?? Thanks!


    Details:

    When I go to https://my.server.name:2087/ I get a browser error saying the certificate is now expired.

    Main >> Service Configuration >> Manage Service SSL Certificates
    Under "cPanel/WHM/Webmail Service" it says that the cert is good and valid until next year.

    WHM 11.28.64 / CENTOS 5.5 x86_64 standard

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM using expired SSL instead of the installed cert

    Hello bigonese,

    Could you please run the following and check if the certificate listed is the same one you installed?

    Code:
    cat /var/cpanel/ssl/cpanel/cpanel.pem
    Is should list the private key, certificate and cabundle if applicable all in that same file.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default Re: WHM using expired SSL instead of the installed cert

    Quote Originally Posted by cPanelTristan View Post
    Could you please run the following and check if the certificate listed is the same one you installed?

    Code:
    cat /var/cpanel/ssl/cpanel/cpanel.pem
    It appears to be the old certificate.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM using expired SSL instead of the installed cert

    Could you try moving the file contents:

    Code:
    mv /var/cpanel/ssl/cpanel/cpanel.pem /var/cpanel/ssl/cpanel/cpanel.pem.bak
    Then re-installing the SSL in WHM > Manage Service SSL Certificates area for the cPanel/WHM/Webmail service?

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default Re: WHM using expired SSL instead of the installed cert

    Thanks for your quick responses!

    Moved the file. Re-installed the certificate. And nothing changed, unfortunately.

    (And the /var/cpanel/ssl/cpanel/cpanel.pem file was not recreated.)

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM using expired SSL instead of the installed cert

    Could you try creating a new file called cpanel.pem and put the RSA key at the top, then the certificate, then the cabundle into that file? If that configuration doesn't work, then I'll have to try to add a false cabundle to see where that's normally placed into the file as my own machine is a self-signed certificate and didn't have a cabundle to see the normal order of the three entries.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default Re: WHM using expired SSL instead of the installed cert

    Hmm, nothing changed, again.

    I created a new /var/cpanel/ssl/cpanel/cpanel.pem file, with the RSA Private Key and then the Certificate (no CA Bundle).

    Then refreshed the browser (and double checked in another browser).... still using the expired cert.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM using expired SSL instead of the installed cert

    Hmm strange, could you try to reset the certificate instead in that area, then try to re-install there again?

    If that doesn't work, please open a ticket in WHM > Support Center > Contact cPanel or using the link in my signature so we can check what is going on.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default Re: WHM using expired SSL instead of the installed cert

    I reset the cPanel/WHM/Webmail Service certificate. Then it showed the new, unsigned cert in the list. But, the browser still showed the old, expired certificate was being used.

    Then I reinstalled the new cert, nothing changed.

    I'll open a ticket. Thanks for your help.

  10. #10
    Member Robert_'s Avatar
    Join Date
    Apr 2002
    Location
    Arizona
    Posts
    106

    Default Re: WHM using expired SSL instead of the installed cert

    I'm having the exact same issue. How did you get it resolved?
    Regards, Robert


  11. #11
    Member
    Join Date
    Jul 2009
    Location
    Grand Rapids
    Posts
    10

    Default Re: WHM using expired SSL instead of the installed cert

    There seemed to be two issues. The first was that it wasn't replacing the old cert when I installed the new one. cPanel tech support logged in to my server and did some magic and fixed that. Not sure what they did (but I got the feeling they were just trying things).

    The second issue was related to a CA bundle. After dozens of certificates installed, why did I now have to use a CA bundle? No idea... Anyway, I googled "CA bundle" and the name of certificate issuer to find it. I made sure the bundle was pasted into the appropriate text field when I installed the cert.

    And then, it worked!

  12. #12
    Member Robert_'s Avatar
    Join Date
    Apr 2002
    Location
    Arizona
    Posts
    106

    Default Re: WHM using expired SSL instead of the installed cert

    I followed the instructions in this thread as well as a couple of different things myself. I even tried the good old method of turning it off and on again.

    I guess I just need some cPanel support magic.

    Thanks for replying.
    Regards, Robert


  13. #13
    Member
    Join Date
    Sep 2006
    Posts
    44

    Default Re: WHM using expired SSL instead of the installed cert

    Having same/similar problems.. new cert installed and showing pretty much everywhere, yet browsers are showing that it's a self-signed.. (it's a rapid cert)

    Initiating TT..... *sigh*

    Thanks in advance tech staff!!

    Shortz

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: WHM using expired SSL instead of the installed cert

    Please provide the ticket number here upon opening one for us to check into how it is resolved precisely for future reference.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. manage2 fails with an expired SSL cert
    By gearheadhost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-10-2009, 09:00 AM
  2. Send Email, SSL Cert Expired!
    By jandafields in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-31-2008, 03:50 PM
  3. WHM SSL Cert Expired Can't Login - Need Help ASAP please!
    By zelf in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-15-2008, 06:50 PM
  4. SSL & POP3, SMTP - still seeing expired cert.
    By Adrnalnrsh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-22-2006, 08:31 PM
  5. New SSL Cert expired / not recognized
    By Edward123 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-01-2005, 04:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube