The following properties must be set at start of maven to be accessible when HttpClient starts up. indent |
---|
| *javax.net.ssl.trustStore* |
indent |
---|
| the path to the trusted server keystore |
indent |
---|
| *javax.net.ssl.trustStorePassword* |
indent |
---|
| the password protecting the trusted server keystore |
They These two properties may be set either on 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: indent |
---|
| *MAVEN_OPTS="-Djavax.net.ssl.keyStore=/home/directory/myTrustedServerKeystore.jks -Djavax.net.ssl.keyStorePassword=XXXXXX"* |
Click here for instructions on how to create a Java trusted server key store. |