devonfw/ide

Add Possibility to configure custom java truststore

Closed this issue · 1 comments

As a Admin, I want to add a custom java truststore (...\jdk1.8.0_251\jre\lib\security\cacert) to the java installation so that our IntelliJ developers can call company services protected by our self signed ssl certificates.

I already tried the variant to place the cacert into /devon/conf/java and add the following JAVA_OPTS to devon/conf/devon.properties
export JAVA_OPTS=-Djavax.net.ssl.trustStore=${DEVON_IDE_HOME}/conf/java/cacerts -Djavax.net.ssl.trustStorePassword=changeit

But this is not added to an application run within the IDE

I could work around this issue by using a custom software repository. There I provide a modified jdk.