I'm trying to figure out how to do x509 name constraints. I just want an CA cert...
Hailey @hailey@hails.org
I'm trying to figure out how to do x509 name constraints. I just want an CA cert that can only sign certs for domain names under a specific suffix to use internally in production environment.
But! The name restrictions are *default allow* if you don't specify a restriction for a given name type and there's at least 9 different name types (and an open "other" type for which I am not sure of the semantics), and these are just the rules for validating "subject alternative names", the "distinguished name" (which contains the "common name" - ie the part used for hostname validation if no SANs are given) is subject to different name restriction rules which I haven't yet figured out.
This seems so easy to fuck up in a subtle but nasty way that I'm almost ready to just give up on this whole direction.