I'm trying to access a https website and trying to get a response using java. I have the necessary certificates installed in my system. The code works fine with JDK1.6. But when the same class file (compiled with Jdk1.6), is not running in JDK 1.7. It throws the following exception.
javax.net.ssl.SSLException: Received fatal alert: unexpected_message
I tried changing the https protocols in System.setproperty(https.protocols, SSLv3), but the same exception is reported. Help me in resolving this issue.
Stack Trace With Debug flag enabled (Ignored some of the stack traces)