ampproject / ampproject/amppackager
Support short-term cert expiry
Open
- Dominant language
- Go
- Stars
- 141
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Currently, `amppkg` only loads the cert file at startup. If it expires while the packager is running, the packager continues to sign with it and serve it. Instead, it should attempt to reload automatically starting a few days before expiry, and continuing at some regular interval until no longer imminently expiring. If the cert is expired, it should stop signing exchanges, and log a warning.
In addition, it should serve the cert-url with an http expiry no longer than the cert expiry (as a follow-up to #85).
Contributor guide
Assessment
This issue has not been assessed yet.