Issue mounting truststore using helmchart #989
-
|
Hi, I am using the ejbca-ce helm chart and mounting custom trust an keystore. importAppserverKeystore: true keystore is happilly read and used but truststore is not. I am using the two environment variables to set the passwords APPSERVER_KEYSTORE_SECRET: "password" and found this issue with truststore (from the log) 2025-11-24 14:05:09,261+0000 INFO [/opt/keyfactor/bin/start.sh] (process:1) Use provided secret for the truststore I looked through the after-deployed.sh script and found that the keystore step does not try to create a password file while the truststore does, which does not work as it is a read only mount. The truststore.jks is mounted and i can access it via keytool. lines 50-53 Keystore lines101-104 Trustore is there any workaround other than mounting both files manually via volume mount? Or potentially I am misunderstanding the problem? Thank you! Tomas |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Awesome analysis! 👏 Your assessment is 100% correct. I've logged the issue in our internal bug tracker (KFC-268). |
Beta Was this translation helpful? Give feedback.
Awesome analysis! 👏 Your assessment is 100% correct. I've logged the issue in our internal bug tracker (KFC-268).
The safest workaround would indeed be to include a
truststore.storepasswdfile in theejbca-truststoresecret.