Re:O2 outage due to expired Ericsson certificate
by purple_ducks on Thursday December 06, 2018 @07:00PM
(#18623794)
> fails on a certain date
Or just write a test that checks the date on the cert and conditionally fails.
If it's within 4 weeks, send email to x,y,z.
If it's within 2 weeks, send it to VP of x, y, z.
combination of failing test and email should lessen chance of it going unnoticed(email could possibly fail for whatever reason).
Add a test that just unconditionally fails on a certain date, like a week before your cert expires. Don't let any code review sign off on a merge of a fix the test until the new cert is in prod. Don't let any code promote between environments while tests are broken.
The problem with emails and warnings is they're all ignorable and therefore completely unsuitable for managing something as critical as a cert.
The secret is to create a straight-up error that absolutely interrupts every engineer in the organization's day until the cert is renewed. A development-halting error a week before cert expiration is a hell of a lot better than a business-halting error when it expires in prod.