What does this mean exactly? "Certbot has set up a scheduled task to automatically renew this certificate in the background."

I run this command ( mostly ) to create a cert:

certbot certonly --cert-name $1 -d $1 -d *.$1 --expand --dns-route53 --agree-tos --non-interactive --server https://acme-v02.api.letsencrypt.org/directory

my certbot version is:
certbot 1.24.0

after it's done ( successfully ) I see:

Certbot has set up a scheduled task to automatically renew this certificate in the background.

... so  where / how exactly is this scheduled task setup?  
crontab -l

reports no crontab for user... I don't see anything new in /etc/cron* ....

so where / how exactly is this scheduled task been added / setup?

  • jack

Try with systemctl list-timers

2 Likes

Over time, the "--expand" will eventually hit 100 entries in a single cert and may require a "contraction".
How do you handle those cases?

OR [in other words]

Do you always run only that command format?

1 Like

It depends how you installed Certbot. We have some documentation about this here.

Assuming you installed the Certbot snap, there will be a systemd timer for it.

2 Likes

And if this is the case on your system, you should be able to see it with

systemctl list-timers

(You may need to make your terminal wider or scroll left and right with the arrow keys to see all of the details—the output of this command is extremely wide!)

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.