News for hackers. Stuff that matters.
Re:Running one’s own root Certificate Authority in 2023 by capitol_ on Sunday September 17, 2023 @04:50AM (#37542916)
It would be impossible to enforce that issued certs are submitted to certificate transparency logs and this would break the security model around the ca system.
Re:Running one’s own root Certificate Authority in 2023 by ithkuil on Sunday September 17, 2023 @05:05AM (#37543008)
Wouldn't the name constrain address this?
Re:Running one’s own root Certificate Authority in 2023 by woodruffw on Sunday September 17, 2023 @06:27AM (#37543503)
It would address the policy side, but not the transparency side (which is arguably critical to the Web PKI’s current security model).
Re:Running one’s own root Certificate Authority in 2023 by ithkuil on Sunday September 17, 2023 @08:39AM (#37544437)
I thought that the main problem that certificate transparency addresses is the fact that multiple certificate authorities can all issue certificates for all domains (i.e. there is an overlap in the name space).

So when a CA gets compromised in some part of the the world (or gets manipulated by a state actor that effectively runs the CA) somebody could just emit a valid certificate for a domain you control.

In case of private intermediate name restricted CAs, that can be addressed by logging the issuance of the intermedia CAs.

Re:Running one’s own root Certificate Authority in 2023 by woodruffw on Sunday September 17, 2023 @11:43AM (#37546280)
> I thought that the main problem that certificate transparency addresses is the fact that multiple certificate authorities can all issue certificates for all domains (i.e. there is an overlap in the name space).

Yep, that's a "main" thing that CT is intended to address. But it has other useful applications as well: because anybody (including website operators) can monitor the transparency log, they can additionally assert that their own trusted CA is not issuing more than one certificate for the domains they control.

Logging only the name-constrained intermediate CA would make third-party monitoring less useful. It would also have a perverse effect on attacker incentives: the attacker now only needs to compromise a user-controlled CA with a likely to be weaker security posture.

(That being said, maybe these tradeoffs are worth it! I don't have a strong opinion about that, other than my impression that the status quo with Let's Encrypt + intentionally leaking a few private subdomains isn't really that bad.)

Re:Running one’s own root Certificate Authority in 2023 by ithkuil on Sunday September 17, 2023 @02:41PM (#37548092)
Yeah the tradeoff here is that this is intended to replace the use of a wildcard certificate which wouldn't benefit of logging every hostname anyway
Re:Running one’s own root Certificate Authority in 2023 by vbezhenar on Sunday September 17, 2023 @07:28AM (#37543880)
I don't understand the difference between wildcard certificate and intermediate certificate.

Intermediate certificate is more secure because you can use different certificates for different subdomains, insead of sharing private key for wildcard certificate with every subdomain server.

Whether it hits CT or not - is not relevant at all. What matters is if intermediate certificate hits CT.

Re:Running one’s own root Certificate Authority in 2023 by nickf on Sunday September 17, 2023 @07:43AM (#37543981)
A wildcard covers one single level of sub-domains. An NC'd CA can be used to issue for anything. Nameconstraints are 'enforced' on the client side and many don't support it. Running a public CA - even with a nameconstrained CA, is a challenge to do properly.
Re:Running one’s own root Certificate Authority in 2023 by vbezhenar on Sunday September 17, 2023 @07:57AM (#37544096)
One of the parents claims that everything supports name constraints now, so my suggestion was with this assumption in mind.