Replies: 2 comments 4 replies
-
What do you see in the logs when the container starts? You should see that the keystore is detected and used. The volume mount is correct /mnt/external/secrets/tls/ks. You could try putting both files into 1 directory and only volume mounting the 1 directory. |
Beta Was this translation helpful? Give feedback.
1 reply
-
How about the truststore? It's in the truststore that you specify which CAs are acceptable for client certificates. The server certificate doesn't have to be changed for that. |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
I've installed EJBCA-CE from a docker container, set up a CA for sake of argument called "MyCA", in addition to the default ManagementCA. I want EJBCA's web services to use a certificate signed by MyCA and not Management CA, however whatever I do, it never seems to work.
For example:
docker run -it -p 8080:8080 -p 8443:8443 -h myhost -v /home/docker/server.jks:/mnt/external/secrets/tls/ks/server.jks -v /home/docker/server.keypasswd:/mnt/external/secrets/tls/ks/server.keypasswd localhost/ejbca/updated-cert2
I've also tried updating the server.jks inside the container and comitting a new images, but it seems like it gets generated on the fly.
I must be missing something obvious? Thanks
Beta Was this translation helpful? Give feedback.
All reactions