2-way SSL on JCS-SaaS Extension
Summary
2-way SSL on JCS-SaaS ExtensionContent
Hi,
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
1