4 ms·
An oldie but a goodie. I really don’t like the short cert expiration and cynically think it’s an example of security practices default to something that makes
by prepend 4y ago
An oldie but a goodie.
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.
- philipwhiuk 4y agoShorter, free certs are a good thing. They make this sort of thing less likely by encouraging its automation. 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?
- prepend 4y agoI don’t want to let an external entity know about my internal servers. So free isn’t an option. 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.
- 1101010010 4y ago> Rotating my private key would reduce my risk from an unknown compromise. But not sure by how much. Therein lies the rub: you index security on knowing you're compromised, whereas most compromise is imperceptible to the user. Rotating credentials reduces risk.
- prepend 4y agoI think this is not a fruitful reasoning. Never sharing keys reduces the risk too. How much does rotating credentials reduce risk? Should I rotate once a year? Once a month? Rotating every day would be even more secure, right? But how much more? I think not very much. I must accept some risk to communicate. I accept that I can manage my private key and keep it safe. It’s my identity, so it’s important to prevent leaking that credential. I think it’s better to protect the credential than to frequently rotate with all the potential errors there. The risk is that I don’t know if I’m compromised. But I think that risk is less than the errors involved in rotating keys according to some arbitrary schedule.
- 1101010010 4y ago> Never sharing keys reduces the risk too. That's not up you, it's up to your adversary. > How much does rotating credentials reduce risk? Should I rotate once a year? Once a month? As frequently as possible. Signal for example uses ephemeral keys for each message. > Rotating every day would be even more secure, right? But how much more? I think not very much. Stop guessing and use empirical evidence to support your reasoning. > The risk is that I don’t know if I’m compromised. But I think that risk is less than the errors involved in rotating keys according to some arbitrary schedule. It's arbitrary because you are making a strawman argument to support a foregone conclusion.
- prepend 4y ago> Signal for example uses ephemeral keys for each message. There’s a big difference between identity keys and session keys. It makes total sense to use lots of throw away keys (this is how tls works) but making a new identity key for every message is madness. There is no empirical evidence for how frequently to rotate your identity keys. A few years ago NIST started recommending never changing passwords unless they are compromised [0]. Identity keys aren’t exactly the same as passwords but I think they are similar. I don’t think anyone quantifies how much of a benefit there is to changing your password nor how frequently to change it. “As frequently as possible” is not useful advice as that could be every minute or never. I need more actionable guidance so I can weigh it against other priorities [0] https://pages.nist.gov/sp800-63-3.html https://pages.nist.gov/sp800-63-3.html
- bobbob1921 4y agoAgreed. I have seen several cases were the recent short cert lifetime has made sites/services less secure as the devs either skip encryption entirely or are running with expired certificates. (I’m referring to small, seldom maintained or internal/non-public facing type projects where the goal is simply to not be using clear text) 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.
- justsomehnguy 4y agoCounterpoint: 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.
- 1101010010 4y ago> I’ve had the same GPG key for 15 years or so and plan on never changing it unless the key is compromised GPG has no forward secrecy, so 15 years of your "encrypted" communications are at risk. Not a great model for secure messaging.
- prepend 4y agoIt’s pretty good. If my private key is compromised all those 15 years of comms are compromised no matter how I slice it, right? How would I protect against this risk?
- flangola7 4y agoYou use encryption schemes with forward secrecy, which has been the standard for years. Compromising my permanent Signal private key, for example, does not allow previous messages to be decrypted.
- randyrand 4y agoDitto for “smart things” hardware. 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.
- antoniuschan99 4y agoCan’t you do a self cert and set the expiry to 2049 or something?
- prepend 4y agoClients won’t recognize the self cert so instead of an expired cert warning, the user will get an unknown cert warning.
- nijave 4y agoThat's mainly a problem for genetir web clients, though. If it's a mobile or other app, you can package the CA in. I think web clients generally wouldn't be able to connect to an IoT device over a private or public IP anyway since afaik public CAs won't issue certs for IPs.
- rovr138 4y agohttps://www.chromium.org/Home/chromium-security/root-ca-policy/moving-forward-together/ https://www.chromium.org/Home/chromium-security/root-ca-poli... > *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:*
- xyzzy123 4y agoLike most engineering choices it has upsides and downsides. 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.
- natpalmer1776 4y agoGiven the average turnover for IT professionals hopping orgs I would personally require shorter certificate durations as a business continuity measure. Not even getting into automation, it keeps the processes fresh in the minds of administrators and should in theory reduce the chance of losing all organizational knowledge of how and where to renew certificates in the environment.
- prepend 4y agoOr just have a decent process that generates certs every 100 years. 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.