Certgen: provide parameter for setting expiry date for gRPC certificates #2017
Labels
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Currently certgen generates gRPC certificates with fixed one year expiration period. Contour does not yet support rotation of gRPC certificates. It is expected that users will handle this.
Assumption: Many users will miss the documentation and unknowingly set a "time bomb" which will cause an incident in 365 days.
Proposal 1: add a parameter to certgen for users to set the expiration date for the gRPC certificates.
Proposal 2: as long as there is no automated enrollment, use default expiration period that will NOT expire in any reasonable time.
Certificates are preferably rotated but due to lack of automation at this point, there is a high risk that user will not be prepared for it either. In that case, never expiring certificate is better than expired certificate. Added security risk is negligible.
The text was updated successfully, but these errors were encountered: