-
New to EJBCA, standing up a fresh docker instance. I'm trying to replace the stock root CA with my own and replace the WildFly admin cert. When creating the CA, I created a new crypto token and replicated the settings from the stock CA (aside from the subject DN and CRL validation data). When making a new request for a "Server" subtype and selecting my new root CA, I change the key algorithm and set a common name. At the bottom, the download buttons are greyed out. If I hit "Reset", I get "An unexpected problem has occurred: badly formatted directory string". If I try the same values but targeting the stock CA, download buttons work normally. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Can you provide a screenshot of this? |
Beta Was this translation helpful? Give feedback.
-
Here's my attempt to issue a test CA server cert from my test CA: Buttons at the bottom are disabled. When I hit "reset", I get this: Tailing the docker container gives me this stack trace: https://pastebin.com/2Ni5T7wv Here's my crypto token: And here's my test CA: |
Beta Was this translation helpful? Give feedback.
-
I went back and looked at this tutorial again: https://docs.keyfactor.com/ejbca/latest/tutorial-start-out-with-ejbca-docker-container#id-(9.1.1)Tutorial-StartoutwithEJBCADockercontainer-Step5-IssueSuperAdmincertificate I'm not supposed to enter a formatted DN, just the value for CN. If I put something like "myserver" instead of "CN=myserver", the cert can be downloaded. Dumb mistake. A few things to note:
|
Beta Was this translation helpful? Give feedback.
-
Great you got it working. Thanks for the feedback on inconsistensies. I'll provide that back to development. |
Beta Was this translation helpful? Give feedback.
I went back and looked at this tutorial again: https://docs.keyfactor.com/ejbca/latest/tutorial-start-out-with-ejbca-docker-container#id-(9.1.1)Tutorial-StartoutwithEJBCADockercontainer-Step5-IssueSuperAdmincertificate
I'm not supposed to enter a formatted DN, just the value for CN. If I put something like "myserver" instead of "CN=myserver", the cert can be downloaded. Dumb mistake.
A few things to note:
The UI shouldn't throw an error like that upon hitting "Reset"
The UI seems to be inconsistent on validation.
Buttons remain enabled when leaving the …