Posted by manischsingh
on April 7, 2008 at 8:27 AM PDT
Actually im making communitcation to external webservice running in Axis the client has given me one certificate with .crt extension and he given me one password to use this certificate soemthing like XXXXXX.
Till now what i have done in my other projects is to make SSL connection is to import the client certificate in keystore and just load the keystore file like this ...
System.setProperty("javax.net.ssl.keyStorePassword", pwd);//keystore password that i created while making keystore file.
In this above way i didnt get the communication and get handshakefaliure exception.
I am confused where to use this XXXXXX password that is given to me with certificate?`
Is there is some other way i have to follow ?