Skip to content

Tag: jetty-9

How to force java SSLContext to use TLSv1.1

How do I get a jersey client to use TLSv1.1? I’m trying to force a com.sun.jersey.client.urlconnection.HTTPSProperties (jersey client code eventually goes to this class) to use TLSv1.1 (or TLSv1) to write test code that confirms a server’s protocols. As I setup the client, I do the following: Inside HTTPSProperties (I downloaded the 1.x source so this may be wrong) I