You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having issues using a custom trustore when providing the configuration via the truststore.type,truststore.password and truststore.truststore fields.
The same issue might exist with the keystore, but was not tested.
Expected Behavior
The truststore should be used by the JVM, allowing outgoing requests to specific external resources.
Current Behavior
Outgoing call to specific external resources are not working as expected).
Possible Solution
Fix the usage of the DEPLOYIT_SERVER_OPTS_EXT environment variable in the application, or use the JAVA_TOOL_OPTIONS env variable.
Steps to Reproduce
Provide the truststore.type,truststore.password and truststore.truststore fields with correct values.
Install the chart
Watch it fail miserably at loading the truststore
Temporary workaround
It is possible to load a custom trustore the the JVM via the JAVA_TOOL_OPTIONS environment variable. Ironically, you can reference the DEPLOYIT_SERVER_OPTS_EXT to populate it.
This variable can be added in the statefulset via the extraEnvVar field as shown below :
spec:
truststore:
password: "password"truststore:
valueFrom:
secretKeyRef:
name: truststore.pkcs12key: truststore.pkcs12master:
extraEnvVars: # Add extra env vars because JVM doesnt load certs
- name: JAVA_TOOL_OPTIONSvalue: $(DEPLOYIT_SERVER_OPTS_EXT) worker:
extraEnvVars: # Add extra env vars because JVM doesnt load certs
- name: JAVA_TOOL_OPTIONSvalue: $(DEPLOYIT_SERVER_OPTS_EXT)
The text was updated successfully, but these errors were encountered:
Hello,
We are having issues using a custom trustore when providing the configuration via the
truststore.type
,truststore.password
andtruststore.truststore
fields.The same issue might exist with the keystore, but was not tested.
Expected Behavior
The truststore should be used by the JVM, allowing outgoing requests to specific external resources.
Current Behavior
Outgoing call to specific external resources are not working as expected).
Possible Solution
Fix the usage of the
DEPLOYIT_SERVER_OPTS_EXT
environment variable in the application, or use theJAVA_TOOL_OPTIONS
env variable.Steps to Reproduce
truststore.type
,truststore.password
andtruststore.truststore
fields with correct values.Temporary workaround
It is possible to load a custom trustore the the JVM via the
JAVA_TOOL_OPTIONS
environment variable. Ironically, you can reference theDEPLOYIT_SERVER_OPTS_EXT
to populate it.This variable can be added in the statefulset via the extraEnvVar field as shown below :
The text was updated successfully, but these errors were encountered: