Skip to main content

certificate confused,help??

1 reply [Last post]
manischsingh
Offline
Joined: 2008-01-09
Points: 0

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.keyStore", keyfile);

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 ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
manischsingh
Offline
Joined: 2008-01-09
Points: 0

Any feedback pls ???