ocsbilisim / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

Support p12 certificate #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i tried to use a p12 certificate as client for client authentication in "SSL", 
the error i got was:
java.io.IOException: Invalid keystore format

Refer Issue 177

Original issue reported on code.google.com by subwiz on 3 Jul 2013 at 3:57

GoogleCodeExporter commented 9 years ago
As a hack, you can start RESTClient GUI with the cli parameters:

java -Djavax.net.ssl.keyStore=[path_to_p12_cert] \
 -Djavax.net.ssl.keyStorePassword=[p12_password] \
 -Djavax.net.ssl.keyStoreType=PKCS12 \
 -Djavax.net.ssl.trustStore=[path_to_trust_store_with_CA_certificates] \
 -Djavax.net.ssl.trustStorePassword=[trust_store_password] \
 -jar restclient-gui-XXX.jar

Refer this:

http://stackoverflow.com/questions/6994944/connect-to-a-https-site-with-a-given-
p12-certificate

Original comment by subwiz on 3 Jul 2013 at 4:01

GoogleCodeExporter commented 9 years ago
Marking this issue as Moved.

Please follow the issue in GitHub: 
https://github.com/wiztools/rest-client/issues/11

Original comment by subwiz on 25 Apr 2014 at 4:30

GoogleCodeExporter commented 9 years ago
Marking Fixed. See GitHub issue for details.

Original comment by subwiz on 27 Apr 2014 at 2:55