ssl 2026-12-05 ⏱ 3 min read

Automate Renewal for 64-Day Certificates

Automate Renewal for 64-Day Certificates
Quick Answer: Renew when a third of the certificate's lifetime is left, not on a fixed day count. For a 64-day certificate that is around day 43. Certbot 4.0.0 and later already works this way. Add a deploy hook so the server reloads, retry failures with a backoff, and test with a dry run.

The rule to follow

The Let's Encrypt integration guide gives two recommendations:

  1. Check ACME Renewal Information (ARI) for each certificate at least twice a day, and renew when the ARI endpoint says to.
  2. As a backstop to ARI, renew automatically when a third of the total lifetime is left. For its 90-day certificates that means 30 days before expiry.

The December 2025 announcement says the same in plainer terms: a hardcoded 60-day interval will no longer be enough, and renewing at about two thirds of the lifetime is acceptable. One third of 64 days is about 21 days, so the renewal starts around day 43.

What Certbot does

The Certbot documentation says that as of version 4.0.0 a certificate is ready for renewal when less than a third of its lifetime remains, and that before 4.0.0 the threshold was a fixed 30 days. For a 90-day certificate those are the same. For shorter lifetimes the new rule scales and the old one does not. Check your version:

certbot --version

The same page says certbot renew only acts on certificates near expiry, so it is safe to run daily or weekly from cron or a timer. Keep it running often enough that a failed attempt gets retried well inside the window.

Reload the server after renewal

A renewed certificate only helps once the web server loads it. Use a deploy hook, which runs only after a successful renewal:

sudo certbot renew --deploy-hook "systemctl reload nginx"

Certbot also runs executable scripts placed in /etc/letsencrypt/renewal-hooks/deploy/, so you can set the hook once. See the Certbot renewal guide for the timer and hook setup.

Test renewal before you rely on it

sudo certbot renew --dry-run

The Certbot documentation recommends --dry-run to test that renewal works. Run it after any change to the web server, firewall, DNS or Certbot options. Because the authorization reuse period falls from 30 days to 10, a dry run is now closer to what a real renewal does, since a fresh validation is more likely to be needed.

Handle failures

The integration guide says renewal failure should not be treated as fatal. It recommends retrying with exponential backoff, capped at once per day per certificate, for example 1 minute, 10 minutes, 100 minutes, then daily. If you run your own scripts, do the same. If you run many certificates, renew in small batches and at a randomised time of day rather than on the hour, as the guide advises.

Things that quietly break renewal

  • Port 80 closed or redirected for HTTP-01. Keep /.well-known/acme-challenge/ reachable.
  • A DNS API token that expired when you use DNS-01 for wildcards.
  • A changed DNS record or CAA record that no longer allows letsencrypt.org.
  • Certificates created with the manual plugin. The Certbot documentation says they do not renew automatically unless you add an authentication hook script.

When a renewal fails, our Certbot renewal errors guide walks through the usual causes.

A short checklist

  1. Confirm the Certbot version, or your client's renewal threshold.
  2. Remove any fixed 60-day interval.
  3. Add a deploy hook that reloads the server.
  4. Run certbot renew --dry-run and read the result.
  5. Add outside monitoring that alerts if a certificate is not renewed on time.

Frequently asked questions

Does my ACME client support ARI?

Support varies by client, and Let's Encrypt tells you to check your client's documentation. If it does not, use the one-third or two-thirds rule instead.

Can I run renewal more than once a day?

Yes. certbot renew does nothing unless a certificate is due. Do not use --force-renewal on a schedule, since the Certbot documentation warns it renews every certificate on every run and hits rate limits.

What about DNS-01 automation?

Let's Encrypt said in December 2025 that it expected a new DNS-PERSIST-01 validation method in 2026, so a DNS record would not need to change at each renewal. Check the announcement page for its current status before you plan around it.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant