CA not respecting DN order with SerialNumber #917
-
Hello, We created a CA with the following sample DN:
We un-checked the LDAP DN order and set "Signed By" to "External CA" so we can generate a CSR to be signed by an external CA. However the CSR is not following the desired DN order after decoding it from OpenSSL:
Both |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't think this is possible, if you didn't get it working. But the subject DN in the request should not matter as the issuing CA should set the correct DN when issuing the certificate. A CA should not just copy-past the DN and extensions from a request, that's dangerous for compliance mistakes. All (that we know of) CAs are able to set the proper values on certificates issued. Albeit it has been common for ADCS Root CA to be configured to just copy-past from the request, ADCS can be configured to set the values that the Root CA actually wants. Therefore the CSR from EJBCA is pretty basic, it doesn't really matter. Having said that, I would agree that it would be natural for the CSR to follow the DN order configured in the certificate profile selected. There is a version of DnComponents.stringToBcX500Name that also takes a "final String[] order" parameter. |
Beta Was this translation helpful? Give feedback.
I don't think this is possible, if you didn't get it working. But the subject DN in the request should not matter as the issuing CA should set the correct DN when issuing the certificate. A CA should not just copy-past the DN and extensions from a request, that's dangerous for compliance mistakes. All (that we know of) CAs are able to set the proper values on certificates issued. Albeit it has been common for ADCS Root CA to be configured to just copy-past from the request, ADCS can be configured to set the values that the Root CA actually wants.
Therefore the CSR from EJBCA is pretty basic, it doesn't really matter.
Having said that, I would agree that it would be natural for the CSR to …