iTranslated by AI
Challenges of Using Short-Lived Certificates in Production
Let's Encrypt's short-lived certificates (often referred to as 6-day certificates) are now generally available. The official announcement explains that the validity period is 160 hours and that you can obtain them by selecting the shortlived profile in your ACME client.
In this article, I will share the challenges I encountered while running these on my hobby server.
6 days is constantly at a failure level
With a validity period of only 6 days (160 hours), if your alert design remains the same as the traditional one (e.g., notifying at 30, 14, or 7 days remaining), your alerts will be triggered constantly—and at a critical level at that.
While you can certainly adjust the thresholds, a complete redesign of your monitoring system is necessary. Even if you still need to track the remaining days, you must shift your focus toward detecting failures, execution lapses, or delays in the renewal jobs, as well as failures to apply the certificates after renewal.
CT monitoring is no longer practical
Certificate Transparency (CT) is a mechanism that allows you to monitor the issuance of public certificates. However, as the frequency of updates increases with short-lived certificates, the CT logs also (naturally) grow. As a result, manual checks or operations like "checking every time a new certificate is issued" will easily break down.
In my case, I have been monitoring CT logs as a preventive measure against issues like Cloudflare issuing certificates to users without their consent (they also automatically added CAA records). Even if you want to monitor whether cloud providers are issuing certificates without user permission, it becomes impossible if CT monitoring is buried in noise.
If you want to continue monitoring CT, it will be essential to design a system that only alerts on abnormal issuance, such as by whitelisting acceptable issuance patterns.
nginx operation breaks if you forget to reload
Depending on your current configuration, simply updating the certificate files for nginx does not automatically start using the new certificate. A reload is usually required.
If the renewal itself succeeds but you forget to reload, the certificate will eventually "expire." With a shorter lifespan, the lead time before this accident occurs becomes painfully short.
If you choose to use short-lived certificates, you must automate the "renewal" and "application (reload)" as an inseparable set; otherwise, it is dangerous.
Conclusion: It requires a complete rebuild of automation and monitoring
Short-lived 6-day certificates demand a shift in "operational style" that goes beyond just "shortening the lifespan of a certificate."
- Review the remaining period for triggering certificate alerts.
- Monitor the failures of renewal jobs and application (reload) processes.
- Assume CT monitoring will be noisy and require filtering or automated judgment.
Discussion