64-day certificates: anything to change in a default certbot setup?

No error to report, just a question before February. I run certbot with the default systemd timer on a couple of small sites. With certificates going down to 64 days, do I need to change anything, or does certbot just start renewing earlier on its own? I'd rather not find out the hard way.

Which version of certbot are you running?

Certbot 4.0.0 and later has the required changes.

Agreed 4.0 is the minimum needed to better renew certs with shorter lifetimes.

I think anyone below 5.0 should upgrade to get support for ARI. Let's Encrypt's first announcement for that is here.

Certbot 4.1 first added support for ARI although a few (mostly minor) bugs resolved in 4.2

Certbot 5.0 further improved ARI support (respecting retry-after)

There were other improvements these are just the ones affecting renewals.

Certbot's official install site: https://certbot.eff.org/

Checked, it's 2.9.0 from the Ubuntu apt package, so that answers it. I'll move it over to the snap version from certbot.eff.org this weekend. Thanks both, the ARI part was new to me.

Good catch on the version. One thing worth doing while you switch: remove the apt package first, so its systemd timer doesn't keep running next to the snap one. They share /etc/letsencrypt, and two renewals racing on the same lineage is the kind of thing that only shows up months later. After the swap, certbot renew --dry-run plus certbot certificates will confirm the existing lineages were picked up and that ARI is being suggested. Nothing else in the default timer needs touching.

Yes, you should do that as described in the instructions at certbot.eff.org that they plan to follow :slight_smile:

As is the recommendation to do a certbot renew --dry-run after the new install

I applaud your enthusiasm just wanted to point out this isn't new and already covered by the official docs noted previously.

Well, nothing about ARI is displayed on the console during a --dry-run. The --dry-run ignores the ARI suggested window so that the challenges are fully tested.

Confirming the correct version is running will let you know about ARI support
sudo certbot --version

Or, you could review the /var/log/letsencrypt log files. But, just knowing the active version is sufficient

Thank you both for the advice!

One thing worth doing after the snap switch: confirm the old apt timer is gone and the snap one is active. systemctl list-timers | grep -i certbot should show only snap.certbot.renew.timer. Then check what the site is actually serving, not just what's on disk: echo | openssl s_client -connect yourdomain:443 -servername yourdomain 2>/dev/null | openssl x509 -noout -enddate. If those two dates disagree after a renewal, your web server isn't reloading. Since Let's Encrypt stopped sending expiry emails last year, I'd also set up some outside check that warns you if a renewal silently fails. There's a list on Monitoring Service Options - Let's Encrypt. Disclosure: I built a small free one for exactly this, heyexpiry.com. It emails you before certs or domains expire.

Good point, I'll run list-timers after the switch so I don't end up with two of them. Thanks!