PREREQUISITES
| Panel |
|---|
Before you begin, you must have the following: |
How to configure Maven to use SSL
Enabling Maven for SSL
| Panel | |||||||
|---|---|---|---|---|---|---|---|
The following properties must be set at start of maven to be accessible when HttpClient starts up.
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 | ||
|---|---|---|
| ||
| indent | ||
| 1 | 1 | *MAVEN_OPTS="-Djavax.net.ssl.keyStore=/homepath/directoryto/myTrustedServerKeystoreserverTrustStore.jks -Djavax.net.ssl.keyStorePasswordtrustStorePassword=XXXXXX"* |
You can now access the Maven repositories using httpsClick here for instructions on how to create a Java trusted server key store.