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!

Apache not serving new certificates after AutoSSL

Discussion in 'Security' started by willkruss, Apr 24, 2018.

  1. willkruss

    willkruss Member

    Joined:
    Jan 29, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi All,

    We run hundreds of cPanel VPSs, the last week we've had three clients servers who had certificates successfully replaced by AutoSSL, they were listed correctly in the Manage SSL Hosts, however, the old certificate was still being served by Apache.

    Restarting Apache through WHM also did not help (note we also tried restarting PHP-FPM service with no luck, but only 1 of the 3 servers was using it).

    Restarting the server fixed the issue.

    This is not a browser caching issue as ssllabs also reported the old cert. As soon as we rebooted the server the new certificate started being served.

    Is this a bug in a recent update?

    Thanks,
    Will Kruss
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,815
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    No that is not a bug. This type of situation is found in server with Nginx as proxy.. Do you have Apache as frontend webserver or you have Nginx or litespeed in front?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. willkruss

    willkruss Member

    Joined:
    Jan 29, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Unfortunately we are well aware of that issue, we host hundreds of cPanel servers, however, none of these servers have NGinx or LiteSpeed.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,851
    Likes Received:
    135
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @willkruss

    Can you confirm if the new certificate is being loaded into apache or is it still the old one? This will be noted in the SSLCertificateFile line of the SSL VirtualHost in the apache configuration.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. willkruss

    willkruss Member

    Joined:
    Jan 29, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Unfortunately as rebooting seems to fix it, I don't believe that the problem is with the actual config files, however, I cannot confirm until it reoccurs. Next time I'll have a closer look before restarting the server and will update the ticket then.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,851
    Likes Received:
    135
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @willkruss

    I see, that almost sounds like something is being cached, I'd definitely like to know if the correct certificate is being reflected prior to reboot.

    Thank you,
     
    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