Revision as of 17:52, April 17, 2020 by Valentip (talk | contribs) (Modified comment string [[category: with [[Category:)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 April 17, 2020, at 17:52.
Comments or questions about this documentation? Contact us for support!