I am trying to call a REST web service on https and using the jks file as shown below:
I am getting a "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure" error. Interestingly, when the same program runs in Java 1.6 everything works fine. Is there a different way of implementing this in Java 1.7 ?
I executed the standalone java file with VM -Djavax.net.debug=ssl and below is the chunk of the console output