Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Code Reviews

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

66%
+2 −0
Code Reviews GnuTLS config for my own root CA, for use on internal server

Does GnuTLS support CA Name Constraints (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA? I'm not aware of any CAs that self-limit this way,[1] except for when the ...

posted 9mo ago by Michael‭  ·  edited 8mo ago by Michael‭

Answer
#2: Post edited by user avatar Michael‭ · 2024-03-26T18:51:46Z (8 months ago)
More research
  • Does GnuTLS support [CA Name Constraints][name-constraints] (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA? I have been loosely trying to find evidence that Mozilla and CA/B friends only permit some CAs if they use these restrictions, but I haven't found it yet.
  • This was typically expected to give country-specific CAs the ability to issue certificates for their ccTLD. Supposedly, the US government [was also trying][fpki] to get one for `.gov` and `.mil`, but I don't know if the project was ever accepted by CA/B.
  • [name-constraints]: https://www.rfc-editor.org/rfc/rfc5280#section-4.2.1.10
  • [fpki]: https://github.com/uspki/policies
  • Does GnuTLS support [CA Name Constraints][name-constraints] (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA?
  • I'm not aware of any CAs that self-limit this way,[^moz] except for when [the US government tried][fpki] (unsuccessfully?) to get one approved by the CA/B forum [for `.gov` and `.mil`][bugzilla-nc]. Name Constraints would give country-specific CAs the ability to issue certificates for their ccTLD, but could exclude them from globally-shared ICANN TLDs or other countries' ccTLDs.
  • [^moz]: It is also worth noting that [Mozilla proposed][moz-nc] enforcing name constraints _external_ to the CA certificates, but that led to [fiery discussion][mailing-list] about entrenching current CAs that could issue for `.org`, `.com`, etc. when new ones would have to beg to do so.
  • [name-constraints]: https://www.rfc-editor.org/rfc/rfc5280#section-4.2.1.10
  • [fpki]: https://github.com/uspki/policies
  • [moz-nc]: https://wiki.mozilla.org/CA:NameConstraints
  • [bugzilla-nc]: https://bugzilla.mozilla.org/show_bug.cgi?id=478418#c28
  • [mailing-list]: https://groups.google.com/g/mozilla.dev.security.policy/c/pF4aVsF21ww/m/yKDhNpEt-2gJ
#1: Initial revision by user avatar Michael‭ · 2024-03-05T16:37:52Z (9 months ago)
Does GnuTLS support [CA Name Constraints][name-constraints] (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA? I have been loosely trying to find evidence that Mozilla and CA/B friends only permit some CAs if they use these restrictions, but I haven't found it yet.

This was typically expected to give country-specific CAs the ability to issue certificates for their ccTLD. Supposedly, the US government [was also trying][fpki] to get one for `.gov` and `.mil`, but I don't know if the project was ever accepted by CA/B.

[name-constraints]: https://www.rfc-editor.org/rfc/rfc5280#section-4.2.1.10
[fpki]: https://github.com/uspki/policies