3 ms·
Well, there is the name constraints mechanism, but I'm not sure how well supported that is in TLS libraries and web browsers. https://datatracker.ietf.org/doc/
by pabs3 5y ago
Well, there is the name constraints mechanism, but I'm not sure how well supported that is in TLS libraries and web browsers.
https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10 https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1....
https://timothy-quinn.com/name-constraints-in-x509-certificates/ https://timothy-quinn.com/name-constraints-in-x509-certifica...
https://www.sysadmins.lv/blog-en/x509-name-constraints-certificate-extension-all-you-should-know.aspx https://www.sysadmins.lv/blog-en/x509-name-constraints-certi...
https://blog.codekills.net/2012/04/08/adventures-in-x509-the-utterly-ignored-nameconstraints/ https://blog.codekills.net/2012/04/08/adventures-in-x509-the...
- maxdamantus 5y agoThanks, I wasn't aware of that. I guess I'd feel a bit more comfortable installing a CA with those constraints, though I'd wonder how many administrators actually know to do it—seems like a feature that's not currently well known and something that can be easily overlooked. There would also be risks to users if installing these custom CAs became common practice. It might be safe to do it for certificates with suitable name constraints, but until certificate installation UIs add something special for this ("this certificate has authority over X, Y, Z"), users aren't going to distinguish between safe/unsafe (constrained/unconstrained) CAs.
- btown 5y agoThey seem decently well supported, see e.g. https://nameconstraints.bettertls.com/#!view?results=chrome_63_osx10.13.3 https://nameconstraints.bettertls.com/#!view?results=chrome_... and https://nameconstraints.bettertls.com/#!view?results=firefox_50_windows https://nameconstraints.bettertls.com/#!view?results=firefox...
- tialaramex 5y agoHowever, note that some relatively modern versions of Safari (because of course) don't support this constraint. This might be no problem for you, or, it might be a complete showstopper.