59 points · by croes · 3y ago · 38 comments
I really don’t like the short cert expiration and cynically think it’s an example of security practices default to something that makes money to a very niche group that charges per cert issued.
I’m extra annoyed because my internal CA at my org requires 1 year expirations and won’t up it even though it’s internal facing only servers that are already on our network. I don’t know what the odds are of a cert being compromised and fronting a new server on our network, but I don’t think the odds are improved with 1 year expiration periods over 5 years.
I’ve had the same GPG key for 15 years or so and plan on never changing it unless the key is compromised. Same for the locks on my house.
> *a reduction of TLS server authentication subscriber certificate maximum validity from 398 days to 90 days*. Reducing certificate lifetime encourages automation and the adoption of practices that will drive the ecosystem away from baroque, time-consuming, and error-prone issuance processes. These changes will allow for faster adoption of emerging security capabilities and best practices, and promote the agility required to transition the ecosystem to quantum-resistant algorithms quickly. Decreasing certificate lifetime will also reduce ecosystem reliance on “broken” revocation checking solutions that cannot fail-closed and, in turn, offer incomplete protection. Additionally, shorter-lived certificates will decrease the impact of unexpected Certificate Transparency Log disqualifications.
Edit to add that the above is under the following,
> *In a future policy update or CA/Browser Forum Ballot Proposal, we intend to introduce:*
I'm personally "pro choice" here and in favour of allowing system operators to decide how much and what kind of automation makes sense for them.
TLS vulns in general are likely to need a server software or config upgrade in response, automated re-issuance is nice but doesn't significantly reduce overall toil.
Revocation being "generally broken" sucks, but is not on my personal "top 50 security problems" that I care about.
What very short lived certs do is create a tight runtime dependency between all deployed infrastructure working and JIT cert issuance systems & refresh code.
IMHO this has analogous risks and benefits to JIT supply chains in real-world contexts.
For some op models IMHO it IS better for a human to just put the thing on the server every year or two.
It's the long infrequently expiring certificates that the knowledge of becomes lost to a company, that are a problem.
Can you even describe how you would react if your GPG key was compromised?
I disagree about expiring knowledge on long internal certs. I want to avoid any network snooping so I use TLS. I don’t worry much about server impersonation since it’s an internal server. There’s no special knowledge required to generate a cert and put it on a server. So if it expires 10 years from now, and everyone involved is gone, then Id just generate a new cert and let it run for 10 more years.
If my GPG key was compromised, I would generate a new key, and notify everyone who uses my key of my new key. It’s not a huge group and the only way they know my public key is me telling them. Fingers crossed, I’ll never need to regenerate and will die with this key.
Rotating my private key would reduce my risk from an unknown compromise. But not sure by how much. And the changeover to a new key would likely introduce a known risk of having partners change stuff and get confused every n months, rather than run the risk of someone getting my key.
Non-expiring keys is good enough for billion dollar Bitcoin wallets, it’s good enough for my GPG. And I wish my Wiki Server that I have to rotate keys every 11 months.
Therein lies the rub: you index security on knowing you're compromised, whereas most compromise is imperceptible to the user. Rotating credentials reduces risk.
I manufacture a non internet connected wifi device, and I basically can’t use HTTPS, WebBluetooth, and a host of other things because I can’t get a long 30+ year cert anywhere. 1 year is max for the web.
Do they really prefer forcing people to use HTTP? It’s bone-headed.
At the very least, they need to make an exception for LAN devices, but they don’t.
Another example of this backfiring, I’ve seen several smaller sites/services make use of much more centralized SSL services (such as Cloudflare), just to avoid having to maintain the SSL certificate. (Whereas prior to the shorter expiration change, these would have been individual domain specific certificates.) I’m aware that this does improve security in many cases as well.
I’m a fan of good practices and automation and whatnot, but don’t think making decisions just to require chaos and turnover in the hopes that it makes practices better is a good idea.
A couple years ago I movd WHMCS instance to LE. 90 days later the cert lapses because it wasn't renewed. So I punch in, re-issue, everything is fine. For 90 days.
That repeated for like a year, when I finally gave up and spent a 15 minutes (compared to 3 for the manual re-issue) to dig up and fixed the reason the auto renew didn't work. It work fine ever since.
It was jusst a botched cron entry.
GPG has no forward secrecy, so 15 years of your "encrypted" communications are at risk. Not a great model for secure messaging.
How would I protect against this risk?
Compromising my permanent Signal private key, for example, does not allow previous messages to be decrypted.
2. If "alerting for a failing process" is too hard for your org, you have serious other problems to address.
3. "I care about TLS for privacy but not for server impersonation" is such a great reminder of how incompletely people are able to think through security-related scenarios. Big whoops.
"Cert expiriration got us, too" is just another form of "Oh I guess we should have used unique passwords", or "Oh, I guess we should have had backups. Or put the expiration dates on a shared calendar. Or spent the few hours of engineering time to setup ACME and wire it to your existing alerting. It's not hard to do things right, it just requires understanding that a small bit of cost/learning today will save you being embarrassingly blind-sided by your own carelessness down the line.
Since apparently Elon doesn't see it prudent to "scrub for SPOF" until the excrement hits the fan, maybe he should go ahead and order the same for his other companies that have a higher potential collateral.
If all CA's are simultaneously down or unreachable -- then effectively any protocol that requires a CA -- is also down...
This includes SSL, TLS, and everything which requires HTTPS to work -- not just all HTTPS web pages -- but all HTTPS web services as well...
A "single point vulnerability" indeed!
My original cursory understanding of HTTPS -- was that it required SSL/TLS to make it work, which in turn required CA's issuing certificates and the validation of those certificates to make that work...
Now, all of the above is true -- but the subtle distinction that I realized after reading your comment (and performing more subsequent research on the matter) -- was that everything above is (apparently -- based on the best knowledge from the research I've done at this point in time!) based on local Root Certificates whose data is contained in local files (i.e., no need to reach out to a CA server for validation) which act as the "Trust Anchor" for all other SSL/TLS certificates...
I.e., new certificates handed to a user's browser by a new website -- do not need to be validated by making an Internet connection to the CA and asking that the CA validate them -- instead, they are validated using cryptographic hashing techniques against the user's local CA Root Certificates...
These CA Root Certificates are apparently X.509 certificates -- or follow that format:
https://en.wikipedia.org/wiki/X.509
Now, that's a good thing!
It means that there's no dependency (one less point of possible failure) that a CA be up and running -- for all of those HTTPS/TLS/SSL transactions to work...
So, you are correct -- and I stand corrected!
Please don't misunderstand: I'm not arguing against the concept of doing something more often to drive down risk, but I do think it's not as "how hard can it be?" that folks make it out to be. It is trading one set of risks for another, and when the ACME goes off the rails, it takes out your global Internet provider, evidently
While we cannot automate the select few on Digicert, we can automate any of the self-signed certificates (you can use your own CA still in 2023) or any of the Let's Encrypt ones.
It's incredible what happens when an organization is big enough, the years roll by, teams change, people leave and stuff just gets forgotten about. Even stuff that has tens of thousands of customers bringing in millions in revenue a year just doesn't have an owner or a person accountable. Happens every week.