Jump to: navigation, search

HTTPS for WS CP Java Client

Assuming that all of the procedures of generating, exporting, and importing certificates have been completed, the following modifications are required for a Java client to run over HTTPS:

  1. Update the URL of WebService or WebService Stub by replacing http with https.
  2. Start your client with the following JVM options:
    • -Djavax.net.ssl.keyStore="<Path to keystore.jks>/keystore.jks"
    • -Djavax.net.ssl.keyStorePassword="<Key store password, set when creating the keystore>"
    • -Djavax.net.ssl.keyStoreType=jks
    • -Djavax.net.ssl.trustStore="<Path to keystore.jks>/truststore.jks"
    • -Djavax.net.ssl.trustStorePassword=<Trust store password, set when creating the truststore>"
    • -Djavax.net.ssl.trustStoreType=jks
This page was last edited on June 18, 2020, at 10:43.
Comments or questions about this documentation? Contact us for support!