Skip to content

Instantly share code, notes, and snippets.

@bernardoVale
Last active April 17, 2018 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bernardoVale/4aef1f837173a1559fc92a273626ebc6 to your computer and use it in GitHub Desktop.
Save bernardoVale/4aef1f837173a1559fc92a273626ebc6 to your computer and use it in GitHub Desktop.
Testing Java SSL
java -Djavax.net.ssl.trustStore=frontend_epsKeystore_fugazi.jks -jar java-keystore-test-0.0.1.jar https://ecinventqark1v.wsgc.com:49184/loyalty/v1/loyaltyAccounts?phone=19164754536
EPS: /apps/tomcat/conf/frontend_epsKeystore_fugazi.jks
Loyalty: /apps/tomcat/conf/frontend_keystore.jks
password
ecinvent-qa-rk1v.wsgc.com
keytool -keystore frontend_keystore.jks -exportcert -alias unit_test -file unittest.key
keytool -printcert -v -file ecinvent-qa.key
keytool -import -noprompt -trustcacerts -alias ecinvent-qa -file /Users/bvale/wsgc/ecinvent-qa-rk1vwsgccom.crt -keystore frontend_keystore.jks -storepass password
keytool -keystore frontend_keystore.jks -exportcert -alias unit_test -file unittest.key
keytool -keystore frontend_keystore.jks -list
keytool -keystore frontend_keystore.jks -exportcert -alias wsirootca -file wsirootca.key
java -jar java-keystore-test-0.0.1.jar https://ecinvent-qa-rk5v.wsgc.com/inventorystateconsumer/summary.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment