Skip to content
Discussion options

You must be logged in to vote

I also wondered about this. Here's what I ended up doing.

Reference https://www.keycloak.org/server/keycloak-truststore we see that we can pass a java keystore to the docker entry point using the command line arguments --spi-truststore-file-file=myTrustStore.jks --spi-truststore-file-password=password --spi-truststore-file-hostname-verification-policy=ANY

So now we just ned to create a java keystore file, which you can find examples of in many places such as https://stackoverflow.com/questions/11952274/how-can-i-create-keystore-from-an-existing-certificate-abc-crt-and-abc-key-fil

So I created my keystore, named it as myTrustStore.jks and put it in a volume that I mapped to the docker cont…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DGuhr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants