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.

installing whm ssl certificate issue

Discussion in 'General Discussion' started by SubZero, May 15, 2006.

  1. SubZero

    SubZero Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Balmumcu, Istanbul, TR
    Today my ssl certificate expired and I want to renew it. got the new crt file from the cacert.org and entered http://host.abcdef.com:2086/scripts2/installcpsslhtml and pasted in my key, domain (host.abcdef.com), crt file. I clicked on Do it button and this is what I get:
    now... I close and re-open the browser and enter the https://host.abcdef.com:2087/ it shows me my old ssl crt file is outdated...

    anyone came up with a similar issue?
     
    #1 SubZero, May 15, 2006
    Last edited: May 15, 2006
  2. Zpeed

    Zpeed Member

    Joined:
    Mar 4, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I have exactly the same problem. Been looking everywhere on the server for old info (made sure for example that both /etc/ssl and /usr/share/ssl contain the right stuff). Can't find anything usefull, the only subsystem I managed to update is Exim. CPanel, CPPOP and IMAP all use the old cert. Even after restarting with /etc/inid./cpanel4 start.

    I'm starting to think there is a bug somewhere, since this has always worked fine for me!

    Found the solution, it's the stunnel bug that's causing this. See

    this thread
     
    #2 Zpeed, May 22, 2006
    Last edited: May 22, 2006
  3. SubZero

    SubZero Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Balmumcu, Istanbul, TR
    have you posted a bug report yet?
     
  4. Zpeed

    Zpeed Member

    Joined:
    Mar 4, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Someone else already did, #4164.
    Hope they fix it, it might be an annoying small bug for people that do something with their SSL cert.

    /Robin
     
  5. borealphil

    borealphil Member

    Joined:
    Oct 21, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cert expired

    I had the same problem this morning... The WHM server certificate is expired. I used the "Reset Server Certificates" from WHM but iit did not worked, certificate still expired. Restarted cpanel without succes. Here's what worked for me after a "Reset Server Certificates":
    /usr/local/cpanel/etc/init/stopstunnel
    /usr/local/cpanel/etc/init/startstunnel

    It seems that when reseting the server certificate, stunnel has not been restarted properly.

    Good luck!
    Phil
     
  6. t9clkclnr

    t9clkclnr Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Southern California
    stunnel restart did not work for me

    however, i did notice that https without the port uses the new cert, but when access the url with a port, it reverts back to the old cert.

    strange to me.
     
  7. ffeingol

    ffeingol Well-Known Member
    PartnerNOC

    Joined:
    Nov 9, 2001
    Messages:
    215
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    We had the same problem. From a shell prompt kill stunnel. The run service cpanel restart. For some reason (can't remember which script has it wrong) stunnel is not getting killed (and therefore not restarted) so your new cert does not get picked up.

    Frank
     
  8. innsites

    innsites Well-Known Member

    Joined:
    Nov 30, 2005
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Yes, Fixed! cert renewed but cpanel says expired.

    /usr/local/cpanel/etc/init/stopstunnel
    /usr/local/cpanel/etc/init/startstunnel

    did not work alone

    but then service cpanel restart

    and VOILA! Success.

    Excellent thread.
     
  9. danzx6r

    danzx6r Member

    Joined:
    Nov 22, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hobart
    cPanel Access Level:
    Root Administrator
    Awesome... I'd been battling for about 30 minutes on this one...


    fixed it in 30 seconds flat after finding this thread... thanks heaps guys!
     
Loading...

Share This Page