devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 102 forks source link

Add Possibility to configure custom java truststore #1361

Closed Magublafix closed 7 months ago

Magublafix commented 9 months ago

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

Magublafix commented 7 months ago

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