News for hackers. Stuff that matters.
Re:EMudhra Intermediate CA Compromise by barco on Tuesday October 20, 2026 @11:23AM (#50167796)
The way the web works, any CA (Certificate Authority) can create TLS certificates for almost any website.

This means that the people with these keys could MITM almost any https connection people make, not only the ones that this CA issued.

Re:EMudhra Intermediate CA Compromise by arcfour on Tuesday October 20, 2026 @12:05PM (#50168441)
It doesn't have to, you can set X509 name constraints which say "the CA may only issue/may not issue certificates for these Subjects," or you can set CAA in DNS, for example.

(Of course, the former isn't really intended to constrain trusted Root CAs, moreso internal PKIs. But it is an option people should know about!)

Re:EMudhra Intermediate CA Compromise by eqvinox on Tuesday October 20, 2026 @12:30PM (#50168901)
To my knowledge, name constraints are very rare in actual use, and a bunch of implementations don't even support them. Am I wrong?
Re:EMudhra Intermediate CA Compromise by arcfour on Tuesday October 20, 2026 @01:14PM (#50169562)
Rare in public PKIs, yes; not so much in private ones, I would imagine.

From my limited experience (using them at home) they seem to be fairly well supported in client libraries, actually!

- OpenSSL has full support, https://docs.openssl.org/master/man5/x509v3_config/

- GnuTLS has full support, https://www.gnutls.org/manual/html_node/X509-certificate-API...

- go (crypto/x509) supports everything except DirectoryName constraints, https://pkg.go.dev/crypto/x509#Certificate.Verify

- Python (pyca/cryptography) has full support, https://cryptography.io/en/stable/x509/reference/#cryptograp...

- Windows/Schannel has full support, https://learn.microsoft.com/en-us/windows/win32/seccertenrol...

- Java has full support, https://docs.oracle.com/en/java/javase/21/docs/api/java.base...

- I know that NSS also supports them from experience but (sorry!) couldn't find the docs in a few seconds of searching

- I know that Strongswan supports them well because I actually opened an issue about it a few years back and got it fixed :-)

(Just a few off the top of my head)

Re:EMudhra Intermediate CA Compromise by eqvinox on Tuesday October 20, 2026 @01:23PM (#50169677)
Wow, Thanks for digging up/working out that support list! Actually a glint of hope.

…but, yeah, the issue is on layer 9. Even just nailing sub-CAs to ccTLDs breaks the moment a marketing person registers a .lol domain.

Then again, the CA/B is essentially a layer 9 entity. I just refuse to believe this is an unsolvable problem (though it might need NCv2 with a whole bunch more shit to cover more human creativity in policymaking.)

Re:EMudhra Intermediate CA Compromise by UltraSane on Tuesday October 20, 2026 @11:56AM (#50168323)
"any CA (Certificate Authority) can create TLS certificates for almost any website."

This has always been incredibly stupid.

Re:EMudhra Intermediate CA Compromise by bombcar on Tuesday October 20, 2026 @12:04PM (#50168431)
You can pin, but almost nobody does (and half the world that does pin is probably pinned to Let's Encrypt).

Those who manage the root domains should have been able to pin who they trust, and then if you WANTED to you could add someone beyond what .com or .egg or .muffin lists.

Re:EMudhra Intermediate CA Compromise by ipdashc on Tuesday October 20, 2026 @01:01PM (#50169364)
> and half the world that does pin is probably pinned to Let's Encrypt

To be fair, unless I'm misunderstanding, wouldn't this be a good move?

LE has a good security record and takes itself seriously, versus these smaller CAs that seem to mess up regularly.

Re:EMudhra Intermediate CA Compromise by bombcar on Tuesday October 20, 2026 @03:12PM (#50171241)
All your eggs end up in one basket usually because it's a really good basket.

All things turn and curve and degrade; Google used to be the "it's perfect" darling.

Re:EMudhra Intermediate CA Compromise by sureglymop on Tuesday October 20, 2026 @05:12PM (#50172750)
Interesting to mention Google because the whole system still relies on them. They decide what certificate transparency logs can enter the program and offer the list of logs. If you don't trust Google web PKI falls apart.
Re:EMudhra Intermediate CA Compromise by binlog on Tuesday October 20, 2026 @12:00PM (#50168373)
Why? How do you pin a website to a specific cert provider? And what happens when you want to switch?
Re:EMudhra Intermediate CA Compromise by bombcar on Tuesday October 20, 2026 @12:05PM (#50168452)
https://kagi.com/search?q=dns+CAA CAA is one way, but you can also pin the actual certificate or certificate chain (which has its downsides, mind you).
Re:EMudhra Intermediate CA Compromise by account42 on Wednesday October 21, 2026 @06:42AM (#50178717)
CAA is a hint to honest CAs to ignore requests to issue certificates for your domain (unless they are explicitly allowed). It does absolutely nothing about dishonest actors with access to trusted keys.
Re:EMudhra Intermediate CA Compromise by UltraSane on Tuesday October 20, 2026 @12:15PM (#50168628)
Because it makes you only as secure as the the LEAST secure CA. Such as the really bad ones that don't use Hardware Security Modules.
Re:EMudhra Intermediate CA Compromise by toast0 on Tuesday October 20, 2026 @03:28PM (#50171457)
You can pin in software you distribute. If you're big enough (top 100 websites mostly), you can ask browsers to pin certs and they may included it in their preloads.

> And what happens when you want to switch?

You have to update your pins and then wait long enough that you don't mind losing users who never update their software. When it's just in software you distribute, you can change hostnames in new versions and use the new CA for new versions and the old CA for old versions...

For web browsers, there's not a reasonable way to make a nicer transition. You have to serve old certs for old pins, and TLS handshakes from browsers don't include enough information to know if the client has an old pin or a new pin; or at least, mostly they don't --- if you get your pins changed and the browser TLS stack changes so the handshake changes after that, maybe you can use that... when sha1 certs were phased out, it was somewhat popular on high volume sites to look at the TLS Client Hello to decide to serve a sha256 cert or a sha1 cert.

DNS CAA only pins issuance, not acceptance; clients can not check if the CA that issued a cert was listed in DNS CAA at the time of issuance, and they do not check if it's listed at time of presentation. I'm pretty sure issuing a cert contrary to a CAA record is a mississuance and would result in sanctions from the CA/Browser forum, but clients would still accept the cert until it's revoked.

Re:EMudhra Intermediate CA Compromise by sandeepkd on Tuesday October 20, 2026 @01:16PM (#50169590)
Yes and NO. These are intermediate CA's and for them to be recognized by your browser or system, they need to be signed by another CA or root certificate that your system already trusts.

SO, not all CA's are signed by root certificates already on your machine