Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
2-way SSL on JCS-SaaS Extension — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

2-way SSL on JCS-SaaS Extension

Received Response
edited May 3, 2017 7:00AM in Java 1 comment


2-way SSL on JCS-SaaS Extension



We are trying to invoke a 3rd party web service (from custom java code) which enforces client authentication (2-way SSL).

How do we configure JCS-SX to enable this? What I have done so far:

1) Obtained the PKCS12 certificate from the client.

2) Imported the PKCS12 file in a new JKS keystore:

keytool -genkey -alias mycertificate -keyalg RSA -keysize 2048 -keystore mykeystore

keytool -delete -alias mycertificate -keystore mykeystore

keytool -v -importkeystore -srckeystore Currency-Importer.pfx -srcstoretype PKCS12 -destkeystore mykeystore -deststoretype JKS

Import was successful.

3) Tried to add the JKS to JCS-SX using the command below:

\javacloud-sdk>javacloud  -dc us2 -p <password> -add-ssl-private-key -path mykeystore -alias mykey -debug true

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!