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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autossl renew check cron time

Discussion in 'Security' started by vacancy, Jun 13, 2017.

Tags:
  1. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    141
    Likes Received:
    14
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello all

    What time does autossl control the upcoming certificates?

    Since the nginx software I use does not have an ssl refresh cpanel hook, renewed certificates are not automatically activated. If I know the renewal time, I can make a fix to work with this clock.

    Or where can we change this cron time.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    #2 cPanelMichael, Jun 13, 2017
    Last edited: Jun 29, 2017
    vacancy likes this.
  3. DennisMidjord

    DennisMidjord Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    97
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Wouldn't that only run once a day at 00:30?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Dennis,

    Good catch. I've updated the previous post to reflect that information.
     
  5. DennisMidjord

    DennisMidjord Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    97
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Hi Michael

    Great :) Would something happen if you changed how many times a day the cron job runs? I'm well aware that having it set to something low as every half hour could be problematic if you host a lot of domains, but maybe once every 2 hours?
    I'm asking this because we mainly host Danish domains (dk TLD), and DK-Hostmaster (responsible for every danish domain) requires that the domain is active on the name servers (added as an addon domain) before you can redelegate a domain name to those name servers. cPanel/WHM does the first SSL check once the addon domain is added, but at this point in time the domain doesn't point to the IP and the SSL certificate can't be installed, thus the client has to wait until midnight.

    The client doesn't have a 'Run AutoSSL check' feauture, right?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Updating the cron job to run more frequently shouldn't lead to any problems based on the information you provided, however note the information on the following document regarding existing polling frequency beyond the cron job referenced in this thread:

    Manage AutoSSL - Version 64 Documentation - cPanel Documentation

    That's correct, but there is a feature request you can vote for if you'd like to see that implemented:

    AutoSSL cPanel interface for end user control

    Thank you.
     
  7. DennisMidjord

    DennisMidjord Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    97
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Would that mean that if a domain failed the first AutoSSL check (let's say the DNS records for the domain wasn't pointing to our webserver), it would try again every 5 minutes?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, if the age of the certificate request is under one day. Keep in mind that while it polls the certificate provider every five minutes, the certificate provider (e.g. Comodo) doesn't always issue the certificate right away (it might still be processing).

    Thank you.
     
Loading...

Share This Page