Today is one of those days when people might *not* look at me like I have three heads when I say disabling root certificates from smaller CAs in countries you don't do business with can be a good mitigation against MITM by shrinking the pool of roots an attacker would have to compromise to make a cert you trust.

Like a lot of countries have private CAs for signing their own government websites. How many of you would have problems if your users couldn't reach the Turkish or South African government? If you're not in one of those countries, probably not a lot.

Replying to an earlier post

The whole PKI notion, to me kinda always rubbed me the wrong way? Trust, wait, to whom is trust given to implicitly that I don't know?!

(Open)SSH's or SILC's TOFU (Trust On First Use) paradigms, seem to avoid a lot of those sorts of pitfalls; though I suppose it creates a little more friction for users? TOFU paradigms also: don't act as a source of profit as the TLS/SSL CA infrastructure did (until Peter Eckersley [RIP] et al created Let's Encrypt to attempt to mitigate that anti-pattern).

It was kinda "hilarious" when some colleagues of mine managed to get a CA to issue a certificate to *. (e.g. https://eprint.iacr.org/2009/111) what could possibly go wrong?! ;)
IACR logoIACR Cryptology ePrint ArchiveShort Chosen-Prefix Collisions for MD5 and the Creation of a Rogue CA CertificateWe present a refined chosen-prefix collision construction for MD5 that allowed creation of a rogue Certification Authority (CA) certificate, based on a collision with a regular end-user website certificate provided by a commercial CA. Compared to the previous construction from Eurocrypt 2007, this paper describes a more °exible family of differential paths and a new variable birthdaying search space. Combined with a time-memory trade-off, these improvements lead to just three pairs of near-collision blocks to generate the collision, enabling construction of RSA moduli that are sufficiently short to be accepted by current CAs. The entire construction is fast enough to allow for adequate prediction of certificate serial number and validity period: it can be made to require about 2^{49} MD5 compression function calls. Finally, we improve the complexity of identical-prefix collisions for MD5 to about 2^{16} MD5 compression function calls and use it to derive a practical single-block chosen
Edited ⁨⁨Oct⁩ ⁨20⁩, ⁨2026⁩, ⁨21:20⁩⁩

Replying to @⁨teajaygrey@snac.bsd.cafe⁩

Admittedly, having written as much, at iSEC Partners, we did use Client Certificate Authentication with a private CA and that was: wow, actually relatively impressive! I was surprised how effortlessly so much functioned with relatively little in the way of sysadmin headaches!

Too bad I have never encountered it in use, anywhere else, ever. ;(

CC: @azonenberg@ioc.exchange

Replying to @⁨azonenberg@ioc.exchange⁩

Yeah, at iSEC Partners it was pretty much all internal. Still, snazzy! Admittedly, I haven't worked for them since 2011; so who knows? It seems entirely plausible all of that stuff which seemed to function relatively seamlessly has since broken due to bitrot in the intervening years and the "new hawtness" of passkeys or something else instead.