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?
9peppe
March 28, 2022, 1:07pm
2
Try with systemctl list-timers
2 Likes
rg305
March 28, 2022, 1:44pm
3
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
_az
March 28, 2022, 9:56pm
4
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
schoen
March 29, 2022, 12:43am
5
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
system
Closed
April 28, 2022, 12:44am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.