by michaelt · 5y ago · 0 comments
(a) Doesn't involve creating a different certificate which never expires, and
(b) Still works if a user leaves a device powered off in storage for a few years
If so I'd love to hear it!
Everything else can still be confined to the regular expiry rules, just the certificate renewal job is exempt.
Require a new cert to be available at a standard path, not less than 10 days before the previous expiration date for ordinary websites, and not less than 1 year before the previous expiration date for long-lived certs.
Then part of the standard utilities in any SSL library should be the autoupdater, which recognizes that a cert should have an update available and takes care of that, emitting loud warnings if the replacement is not available in the appropriate window.
On the other hand, leaf certs should expire every day. Or at most a week. Move to new root certs when the tech calls for it (like SHA1->SHA256)
What criteria would you use to decide expiration dates for 20 years in the future?
https://www.entrust.com/blog/2014/04/need-sha-2-signed-root-...
If you're designing a device that cannot be updated (or won't be), you probably shouldn't use Web PKI. Even if the roots didn't expire, I'm sure the BRs would eventually evolve to preclude issuing leaf certs compatible with the devices.