PREREQUISITES
...
Panel | |||||||
---|---|---|---|---|---|---|---|
Before you begin, you must have the following:
Need a Trusted Server Java keystore? Here are instructions on how to create a trusted server Java keystore. |
Enabling Maven to use Java keystores
Panel | ||||||
---|---|---|---|---|---|---|
The Set the following properties must be set at start of maven to be accessible when HttpClient starts up. | 1 | 1 | *:||||
indent | 2 | 2 | ||||
the path to the trusted server keystore | ||||||
indent | 1 | 1 | * - This is the path to the trusted server keystore.||||
indent | 2 | 2 | the password protecting the trusted server keystore - This is the password protecting the trusted server keystore.
Code Block |
---|
MAVEN_OPTS="-Djavax.net.ssl.keyStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.keyStorePasswordtrustStorePassword=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 You can now access the Maven repositories using https.