I have two questions,
1) I am getting the following exception while trying to connect to a server in JDK 1.7
javax.net.ssl.SSLProtocolException: Protocol violation: server sent a
server key exchangemessage for key exchange RSA
The server supports the following protocols - TLS_RSA_WITH_AES_256_CBC_SHA and TLS_RSA_WITH_AES_128_CBC_SHA
2) I just saw the following link,
Is TLS_RSA_WITH_3DES_EDE_CBC_SHA equivalent to SSL_RSA_WITH_3DES_EDE_CBC_SHA
which explains TLS_RSA_WITH_3DES_EDE_CBC_SHA and SSL_RSA_WITH_3DES_EDE_CBC_SHA are equivalent.
But I find that when the server supports "TLS_RSA_WITH_3DES_EDE_CBC_SHA" while connecting to it (JDK1.7) this Cipher Suite isn't getting selected and my connection to the site is failing.
On a additional note, I am using Apache's httpclient to connect.