How to get a simple Java client in eclipse to connect to a server using TLS1.2 protocol
I have tried several of the usual methods of accessing a rest service using httpclient, urlconnection, etc., to no avail. I have read countless Stack Overflow articles on how to do this, nothing works in my eclipse mobilefirst/RSA environment. I am running jdk 1.7 with mobilefirst 7.1.1 And RSA 9.1.1. From what I have read, you have to set the SSLContext to talk to a tls1.2 server...As the same code works fine on other servers. There is only one way I have seen that allows you to set the SSLContext and that is with ClientHTTPBuilder . So here are a couple of examples: This example works for