Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

The following properties must be set at start of maven to be accessible when HttpClient starts up.

indent
1
1
*javax.net.ssl.trustStore*
indent
11

 - This is the path to the trusted server keystore.
*javax.net.ssl.trustStorePassword* - This is the password protecting the trusted server keystore.

These two properties may be set either by maven's command-line (found in the .mvenrc file) or by the MAVEN_OPTS environment variable.

1
indent
1

{indent:1}*javax.net.ssl.trustStore*
indent
2
2
the path to the trusted server keystore
indent
1
1
*javax.net.ssl.trustStorePassword*
indent
2
2
the password protecting the trusted server keystore

These two properties may be set either by maven's command-line, in the .mavenrc file or in the MAVEN_OPTS environment variable.
Here is an example for the .mavenrc file setting:

Code Block
MAVEN_OPTS="-Djavax.net.ssl.keyStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.keyStorePassword=XXXXXX"

Adjust the =/path/to/serverTrustStore.jks and the password XXXXXX as needed.

Here are instructions on how to create a Java trusted server key store.