Repository navigation
"Enforce unique DN" as CA setting and removed End Entity/cert revoked - does not allow to issue new cert with same domain. #1084
|
Hello, In my lab, I am running this: I have valid cert mldsa.darthfrog.org(ML-DSA-65 keypair, which is cool as heck to run on my raspberry pi! thanks!)
I was playing around with my domain. There are now a few deleted entities that no longer exist on the system.(i removed them over RA) But I can not create new cert, like www.darthfrog.org, even though, as far as I understand - its unique from mldsa.darthfrog.org? Seeking for End Entity "mldsawww" in RA interface brings no result(as I deliberately nuked anything related to "dartfrog.org") Is this a bug or I don't understand something? If EE does not exist and its certs are all revoked, can I not issue certs with same SAN/CN? I have a background in CA technical support and QA. If you require additional reproduction steps—such as testing across different CA hierarchies or testing with different signature algorithms (e.g., RSA vs. ML-DSA)—please let me know. I am happy to provide further data to help isolate the cause. Assuming the cause is not between left and right ear of the submitter. :D |
Replies: 2 comments 1 reply
|
Not a bug, the check just runs against stored certificates rather than end entities. EJBCA looks up every cert with that subject DN issued by the same CA and compares usernames, with no status filter, so the revoked cert mldsawww once had for CN=www.darthfrog.org still counts after the end entity is gone (search certificates with the Username box ticked for mldsawww and it's still there). Either create the new end entity as mldsawww, or turn off Enforce unique DN on the CA since it's a lab. |
|
Thank you for response. |
Not a bug, the check just runs against stored certificates rather than end entities. EJBCA looks up every cert with that subject DN issued by the same CA and compares usernames, with no status filter, so the revoked cert mldsawww once had for CN=www.darthfrog.org still counts after the end entity is gone (search certificates with the Username box ticked for mldsawww and it's still there). Either create the new end entity as mldsawww, or turn off Enforce unique DN on the CA since it's a lab.