Unable to access REST API due to bad certificate #844
lakshya-chopra
started this conversation in
General
Replies: 1 comment 1 reply
-
I don’t think this is the problem, the CA doesn’t need an alt name. What error do you get from curl? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using EJBCA version
9.0.0
via a docker based environmemt. Now the default CA used by EJBCA for it's REST clients & Web UI is the ManagementCA, that lacks aSubjectAlternativeName
- thus, causing errors when accessed by cURL.To replace the default CA
I created a new CA via OpenSSL and imported its PKCS#12 into EJBCA.
Added its keystore (.jks) & truststore to:
inside the EJBCA container.
standalone.xml
to use the new CA’s keystore & truststore.Restarted the container, but the changes are still not reflected.
My question: Is there any easier way to do this? Am i even doing it correctly? In the EJBCA's logs, I noticed that it is taking the server's keystore from
/opt/keyfactor/secrets/persistent/tls/ejbca-node1/
, so maybe I'm wrong.Your help will be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions