• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • crote 1 hours

    > With this approach, they have shown a reduction in CRL data from a list of all enrolled and unexpired certificate serial numbers from 6.7G to a filter of just 1.3 MB.

    It actually gets even better: Mozilla's CRLite deltas with generation on a 6-hour interval are only about 60kB! Even with 10 billion internet devices fetching every 6 hours you're looking at a mere 222Gbps of bandwidth: a lot, but plenty of tech companies do more.

    > At this point, why not just use DANE (RFC 6698), store the public keys in the DNS, rely on DNSSEC to provide the necessary authenticity, and use DNS TTL settings to control the cached lifetime of the public key? With a combination of DNSSEC Chain Extensions and DNSSEC stapling, it is possible to perform a security association handshake by having the server provide the client with (...)

    Yeah, until an attacker gets access to DNS, stores a record with a TTL of 1 year, and staples that - of course after poisoning the caches of major DNS resolvers with the address of the attacker's server.

    xorcist 1 hours

    > until an attacker gets access to DNS, stores a record with a TTL of 1 year,

    DNSSEC may have problems, but that's not how the trust model works. Also signing is separate from authoritative DNS, so you'd need to compromise the signing itself, not just DNS. Should that happen, you are still limited by the upstream record siganture lifetime.

    pjf 1 hours

    On the other front (Chrome), their crlset-tools [1] just fetched me 64k (~1.1MiB) of revoked certs just fine, contrary to the article (quote: "After retrieving and running this tool, I was surprised to see a total of 1,081 revoked certificate serial numbers in this list. This seems oddly low.")

    [1] https://github.com/agl/crlset-tools

  • bblb 4 hours

    DNS and PKI. Two of the most centralized services in the Internet. Take over both of them, and you have the whole net under your command.

    pjf 1 hours

    Good that at least BGP is secure.

    nanis 1 hours

    Might want to add /sarc just in case someone believes it :-)

  • thayne 5 hours

    > At this point, why not just use DANE

    Interests of the existing PKI industry may be the source of some friction, but the bigger issue is that DANE depends on DNSSEC, which is not widely deployed, and sometimes actively avoided due to its complexity and ease of breaking you site.

    Don't get me wrong, I'd love it if DANE, or something similar caught on, but I don't think it is practical until something changes to make DNSSEC (or equivalent) common.

    jeroenhd 1 hours

    If DANE were to roll out to browsers, I think plenty of people would rather use it than centralizing on Let's Encrypt.

    DNSSEC isn't easy, but either is certbot. DNSSEC also isn't that hard if you're not self-hosting your DNS servers (and even then it's easy if you pick a modern DNS server).

    Most domains seem to use their registrars free DNS servers. For those domains, DNSSEC is often just a checkbox. I just activated DNSSEC on three domains by hitting that checkbox. A certbot-style tool can use the same API many existing certbot plugins already provide access to for setting up DANE.

    However, until browsers actually implement DANE, it's pretty useless. I know some people use it for mail servers (for some reason, don't see why they can't use Let's Encrypt for that) but even there it's optional.

    PunchyHamster 4 hours

    > Interests of the existing PKI industry may be the source of some friction, but the bigger issue is that DANE depends on DNSSEC, which is not widely deployed, and sometimes actively avoided due to its complexity and ease of breaking you site.

    I have a feeling it is "actively avoided" because vendors don't want to lose control of the cert ecosystem. Allowing user to just generate a domain for themselves means it will never get logged in central log and so can't be automatically found by crawlers by the big guys

    Parodper 16 minutes

    > Allowing user to just generate a domain for themselves

    That's limited mostly by policy[1], the current PKI environment already allows delegating CA for a single domain.

    [1] https://community.letsencrypt.org/t/sub-ca-with-wildcard-cer...

    xorcist 1 hours

    This is public data so the big guys could absoltely crawl it. But we should not underestimate the size of the PKI industry, several large actors make good living from the existing web PKI and they will not change unless their very existence is threatened.

  • lmm 6 hours

    Was this AI-generated? It seems to keep circling around the same points and have some major misunderstandings.

    > If that is the case, why should the server convey the certificate and the OCSP status to the client and defer to the client on the decision not to proceed with the TLS connection? Why shouldn’t the server simply terminate the TLS connection immediately itself?

    Why does it matter? You're talking about a scenario that should essentially never happen, who cares about slightly suboptimal performance at that point?

    > CRLs only really work efficiently when nobody revokes certificates.

    Revocation is an emergency measure, not a routine one. That's ok.

    > At this point, why not just use DANE (RFC 6698), store the public keys in the DNS, rely on DNSSEC to provide the necessary authenticity, and use DNS TTL settings to control the cached lifetime of the public key?

    Because DNS' multilayered caching makes it notoriously impossible to operate safely or debug. Most large outages already originate in DNS issues; putting the crypto in that layer would redouble it.

    crote 2 hours

    > Revocation is an emergency measure, not a routine one. That's ok.

    Rather the opposite: revocation is the one time it actually matters, so your infrastructure shouldn't come to a grinding halt when it happens!

    Let's say a party like LetsEncrypt needs to do a mass revocation of all certificates. Unlikely, but it has happened before. This is going to instantly blow up the CRL from perhaps a few thousand to 700 million entries. Force every browser to download that regularly and you've essentially accidentally created a DDoS on LetsEncrypt's CRL service.

    And how do you want the browser to respond? Fail-closed and you've just created a method to take 80% of the internet offline by DDoSing a single service, fail-open and you've just created a method for an attacker to bypass certificate revocation entirely.

    With critical infrastructure like this you can't get away with only thinking about the happy path. It should always work - even in emergencies.

    _bernd 6 hours

    The author has a long history of quality content and should be considered experienced in his field of doing.

    jcgl 5 hours

    Agreeing with my sibling commenter, this writer is extremely experienced and has been writing this blog for many years. I’d be appalled if this were LLM-written, but thankfully it reads with the same style and tone that he’s always had.

    > Revocation is an emergency measure, not a routine one. That's ok.

    At the scale modern CAs operate, even emergency measures (i.e. measures that are an emergency for the party receiving the leaf cert) are also routine for the CA/the party granting the leaf cert.

    miyuru 3 hours

    looks like so, the emojies are dead give away.

    I am not against using LLMs, but the author should have validated the contents before posting.

    aragilar 2 hours

    If you look at the older article linked (https://www.potaroo.net/ispcol/2022-03/revocation.html), it's very similar and uses the same tick/cross, so I don't think it's AI generated.

    PunchyHamster 4 hours

    > Because DNS' multilayered caching makes it notoriously impossible to operate safely or debug.

    That is not a problem for certs, you are not changing it every second. And the "impossible to operate or debug" is just plain failse or incompetence

    > Most large outages already originate in DNS issues; putting the crypto in that layer would redouble it.

    That is also just not true. Also, outage of DNS coz someone fucked up configuration management somewhere is not caused by anything related to DNS, it just so happens DNS is essential so any problem is visible.

    lmm 2 hours

    > That is not a problem for certs, you are not changing it every second.

    The problem is when you screw it up and can't fix it for 24 hours or worse.

    aragilar 3 hours

    In addition to what other commenters have said, it's a copy of a post on their personal blog: https://www.potaroo.net/ispcol/2026-04/revocation.html

    On revocation, check out https://bugzilla.mozilla.org/buglist.cgi?product=CA%20Progra... I don't think any CA hasn't had an issue with revocation at some point (e.g. Let's Encrypt had a major one in 2021, and refused to revoke), which is why Let's Encrypt is moving to 7 day certs (so that revocation isn't required, basically https://www.imperialviolet.org/2011/03/18/revocation.html which is mentioned in the article). My impression is CRLs (and by implication current revocation methods) don't work, and browsers are effectively fudging around CAs with custom methods (e.g. allowing existing certs but no new certs from distrusted CAs).

    I'm no security expert, but modern bind9 seems to just handle DNSSEC with no issues when I've used it, and given that the "WebPKI" seems is becoming more and more reliant on custom browser code, adopting DANE outside browsers might not be the worst idea.

    lmm 2 hours

    > I don't think any CA hasn't had an issue with revocation at some point (e.g. Let's Encrypt had a major one in 2021, and refused to revoke)

    Every software org has had issues with every piece of functionality, revocation isn't special.

    > modern bind9 seems to just handle DNSSEC with no issues when I've used it

    The happy path works. Everything is fine until it isn't. Very few people are confident enough to fully deploy it.

    aragilar 1 hours

    According to https://stats.labs.apnic.net/dnssec DNSSEC is sitting about 1/3, so "very few" isn't accurate. I'm not suggesting browsers should change what they do, but if WebPKI can't be used, building a new CA ecosystem would seem to be to be at least as hard as getting DANE working.