PREREQUISITES
| Panel |
|---|
Before you begin, you must have the following: |
How to configure Maven to use Java keystores
Enabling Maven to use Java keystores
| Panel | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following properties must be set at start of maven to be accessible when HttpClient starts up.
indent | | 1 | 1 | *
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 | |||
|---|---|---|---|
Set the following properties: indent | | 2 | 2 |
the path to the trusted server keystore | |||
| indent | 1 | 1 | *|
| indent | 2 | 2 | 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.