Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding organizationIdentifier Name/OID to X500NameAttrMap #1027

Open
jmisset-cb opened this issue Oct 24, 2024 · 0 comments
Open

Adding organizationIdentifier Name/OID to X500NameAttrMap #1027

jmisset-cb opened this issue Oct 24, 2024 · 0 comments

Comments

@jmisset-cb
Copy link

Hello,

We are setting up a DogtagPKI CA subsystem.
The subject of our CA signing certificate contains the OID 2.5.4.97 / organizationIdentifier field:
CN=CA Signing Certificate,organizationIdentifier=XXXX-12345,O=EXAMPLE,C=US

When starting up the CA subsystem, the authorityDN is added to the LDAP database entry:
ou=authorities,ou=ca,dc=ca,dc=pki,dc=example,dc=com

Because this OID is not present in X500NameAttrMap.java, the CA subsystem tries to add the following authorityDN:
CN=CA Signing Certificate,2.5.4.97=XXXX-12345,O=EXAMPLE,C=US
which is blocked by the LDAP DN syntax check.

Can I open a PR to add the OID / organizationIdentifier field mapping to X500NameAttrMap.java? Is that something you are open to or is there another way to go about this?

Looking forward to your response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant