-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Environment - Java - OpenJDK, Environment - Java - Oracle JDK
-
0
-
3
Problem Definition
Currently the variables JAVA_KEYSTORE, JAVA_KEYSTORE_PASSWORD, JAVA_TRUSTSTORE and JAVA_TRUSTSTORE_PASSWORD which can be set in set-jmx-opts.sh are working only for the JMX settings.
It would be good to have similar variables to set the keystore and trustore for the application itself as it used to be with Tomcat: $STASH_HOME/conf/catalina.properties as it's not possible to set the trustore through bitbucket.properties due to https://github.com/spring-projects/spring-boot/issues/6493
Suggested Solution
Please implement the variables to set the trustore just by the path without using JVM_SUPPORT_RECOMMENDED_ARGS as it designed to have only support advised values.