top | item 34676056

(no title)

hoppla | 3 years ago

Do you know of any CAs that are willing to issue such certificates?

discuss

order

michaelt|3 years ago

The feature is called 'RFC 5280 Name Constraints' and nobody will issue you such certificates.

This is because some clients don't support the constraints, so if they give you a CA certificate that can sign any subdomain of evil.com you could use it to sign MITM certificates for good.com and, although you wouldn't fool modern web browsers, you might fool smart fridges and ancient android phones.

You can, however, use it to constrain your in-house corporate CA if you like.

ilyt|3 years ago

Well our private one does lmao. Not useful in the slightest because of lack of client support.

We had an idea that our dev machines could live under *.dev.example.com and just have sub-ca generating certs for it and so any vulnerability or misgenerated cert would be limited to that environment, but lack of client support means that wouldn't work very well