Identify the Relevant TrustStore

Veracode Integrations Security and Troubleshooting

When working with Veracode integration products, verify which Java Runtime Environment you should use with the TrustStore.

Java includes a file named cacerts, under the \lib\security\ folder, which is the TrustStore for that Java Runtime Environment (JRE).

However, you can install multiple JREs on a single machine, and some products install and use a default Java Development Kit (JDK) and JRE. You must determine which JRE to use.

Product Default TrustStore User-customized JRE Location
C# wrapper
  1. Run certmgr.msc
  2. Navigate to Trusted Root Certificate Authorities > Certificates.
Not applicable
Eclipse/RAD %JAVA_HOME%\lib\security\cacerts Eclipse menu > Window > Preferences > Java > Installed JREs >
IntelliJ C:\Program Files\JetBrains\IntelliJ IDEA Community Edition <version>\jre<32/64>\lib\security\cacerts
  1. Open Find Action.
  2. Find "Switch Boot JDK."
See the JDK in use.
Java wrapper [%JAVA_HOME%\lib\security\cacerts] Not applicable
Jenkins Jenkins Server: C:\<Jenkins install dir>\jre\lib\security\cacerts
  1. Navigate to http://<jenkins_url>/systeminfo
  2. Identify the value next to java.home.
TeamCity C:\<TeamCity install dir>\jre\lib\security\cacerts
  1. Open <build agent directory>\buildAgent.properties in a text editor.
  2. Search for the env.JAVA_HOME property.
If you see env.JAVA_HOME, it is in the specified directory of the property. Otherwise, it is the default.
Visual Studio
  1. Run certmgr.msc
  2. Navigate to Trusted Root Certificate Authorities > Certificates.
Not applicable