159 points · by jamespwilliams · 4y ago · 94 comments
That way it would require multiple CAs to be compromised or act in concert to affect a user who visited the site prior to a compromise. For new visitors, browsers can expand their normal CT check to include alternative CA declarations. The connection is secure only if all CAs certify all other CAs as valid and the certificate being authentic. If there is a valid cert issues in CR logs from a different CA, user gets an insecure connection warning -- which does mean random CAs can mis-issue certs and cause errors (for sites with multiple CAs that is) but will only help get rid of those CAs.
I'm wondering why DANE didn't take off.
Then, on occasion of a site with untrusted CA, figured out which one it was, and then decided whether I wanted to trust it. It was a headache, but it happened only very infrequently.
This exercise was inspired by my unease with the current CA scheme, and seeing some of the ones that were trusted by default.
Then you could say "hmm, these I've never used -- set it to manual approval for each site they try to authenticate"
Or "For this one, that's great, I'll use it to authenticate .ae domains, but nothing more, or I'll allow .bankofchina.com, but nothing more"
Would only apply for 0.001% of browser users though, and they are the ones who are more likely to push for a better solution which will apply to the rest of the world, so I can see why they don't want that.
Unfortunately, Firefox doesn't seem to enforce CT https://developer.mozilla.org/en-US/docs/Web/Security/Certif...
What OP suggested would potentially prevented a rogue behavior from a hacked CA to cause any damage. With Certificate Transparency you would just have a nice log about it afterwards.
> This also means the site operator can monitor for certificates issued for their site and notice if a CA they aren't using issues one.
All they could do is to just turn off the site and report the incident. It would still take hours before that certificate would be revoked and that information propagated to browsers. I'm also fairly confident 99.5% of website operators do not watch any cert monitors.
I know it because they took control of our company in 2016. The reason in the decision: "inspector found no evidence of tax evasion, which is suspicious for a Turkish company, therefore we take control of the company." (not joking)
Turkey can eliminate their trust based companies one by one if they deem it necessary, but for a government seemingly trying to focus on export the distrust would probably hurt more than it would yield. See DigiNotar and WoSign/StartCom.
The *google.com stuff is the more dangerous, but that can be detected pretty quickly if widely deployed - the intelligent way would be to only do so in very target situations and very, very rarely.
(Google added certificate pinning and other things to try to protect against this in the future)
The probabilities talk. 0.00001% this is happening in Europe (which would ended up with punishment for liable parties) vs. >50% this is happening in Turkey (punishment of journalists for exposing this etc).
The list archives are at https://groups.google.com/a/mozilla.org/g/dev-security-polic...; this issue is covered at https://groups.google.com/a/mozilla.org/g/dev-security-polic...
[0] https://nakedsecurity.sophos.com/2013/01/08/the-turktrust-ss...
I enable this setting and at first I can't go to Google unless I enable Google's CA. The go to Amazon and get the warning, get displayed what I will be enabling and have the ability to use Google to search if I will trust them. So I enable DigiCert Global CA in order to use Amazon, and ask myself why the hell I need to trust that 3rd party.
And so on. This way I would never have Hong Kong Post Office's CA enabled in my browser.
(I wonder if there's a tool out there that does so automatically? Something like Filippo's mkcert but for automatically pruning the CA store down to just the ~dozen major operators?)
- Too few CAs and you loose on competition.
- Too many CAs and the probability of vulnerabilities approaches 100%.
In other words: we should be seriously cutting down the number of trusted CAs.
I agree that there are too many CAs. But the ideal number is also significantly more than 1.
...well unless you include zero. If we can replace this with something better that would be much more desirable.
> They hold the roots of trust but charge for there services and are for-profit. Without any competition we would have a terrible monopoly.
This hasn't been true for years! Let's Encrypt provides free certificates to anyone with a domain. They issue millions of certs a day and secure a massive chunk of the web[1].
I think everybody is in broad agreement that the CA system is brittle, vulnerable to mismanagement, bad actors, etc. But "something better" is very hard to identify and implement. Churchill's saying about the "worse system except for all the others"[1] applies equally well here, IMO.
[1]: https://blogs.fcdo.gov.uk/petermillett/2014/03/05/the-worst-...
[1]: https://www.linuxfoundation.org/resources/case-studies/lets-...
The entire system is equal parts insecure and absolutely impractical, such that 80% of organization have had an outage caused by certificate issues but certificates aren't meaningfully providing security.
https://www.dailyartmagazine.com/tughra-of-sultan-suleiman-t...
Since many browser vendors are reluctant to remove CAs (because it breaks lots of websites for users), they don't have too much leverage enforcing security practices.
The requirements they are supposed to check against: https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-... - section 5 addresses security, referencing "The CA/Browser Forum’s Network and Certificate System Security Requirements" - https://cabforum.org/network-security-requirements/, which at least in the version 1.3 that I saw required pentests and security scans.
These feel like the wrong metrics: the attackers who compromise CAs don't generally overlap in skillsets with people who engage in bug bounty programs, and (AFAIK) `security.txt` has had no significant adoption in the broader community.
Last time I checked we don't have any CA's from North Korea or Afghanistan...
Happy to be proven wrong.
Although you can argue that US' FPKI is "rogue" for the purposes of WebPKI (there's no control, no transparency, no audit etc.) and cross signature over FPKI Bridge was one of the reasons contributing to Symantec forcible retirement.
(I know that CAA records exist in DNS, which are a good signal. But there isn't DNS change transparency; every DNS reply can be unique, so someone can easily serve a faulty CAA record to an evil/hacked CA, and you wouldn't notice. DNSSEC exists to solve this particular problem, but is its own new and exciting set of problems that I have yet to fully understand.)
Is this link supposed to go somewhere specific, or just to the EJBCA homepage? It currently just points back to https://ian.sh/etugra
Dropping them down to one year duration may help push people towards LE and friends.
* Relevance: I assume other languages / countries use more localised certs.
I believe anf.es is
> strictly offline signing of certificates
CSRs, signed certs, certificate transparency log entries, revocations etc have to get between the signing device and public some how. You can create a gap, but then you have to bridge it somehow for this data.
Do you want an organization that prints out and types in every request going across that gap? You're probably not going to find that.
Requests go on a memory card at the end of the day, onto the signing device which signs them for a year, back on the card and onto the network-connected device from where they are mailed back to the customer.
What functions of a CA have to be run more frequently than this?
I suspect it's more about competitiveness though. Manual processes are expensive and slow, which likely will push customers to choose other CAs. I don't think there is a market for manually operated certificates. I believe this for two reasons:
1. Because any CA can issue a certificate, you are exposed to the risk of some other CA getting hacked regardless of how secure the CA you choose is. (Although CT and CAA may mitigate this).
2. Air-gapping is neither necessary nor sufficient to be secure. Not sufficient because even an air-gapped system needs controls against insider threats, tampering of data before it gets transfered across the air-gap, attacks that breach the air-gap [1] etc. Not necessary because well run systems can be reasonably secure even without an air-gap.
He shall look at American CAs. Trusting CAs based on pedigree is ... funny.