0

According to Oracle,

Support for TLS 1.2 first appeared in JDK 7 (2011). For compatibility reasons, it is enabled by default on server sockets but disabled on clients.

Is there a way to enable it on the client side as well?

DemCodeLines
  • 1,870
  • 8
  • 41
  • 60
  • client side of _what_? what are you trying to do? – matias elgart Nov 16 '16 at 04:10
  • "...sockets but disabled on **clients**." <-- That client. – DemCodeLines Nov 16 '16 at 04:25
  • For `HttpsURLConnection` (that is, `URL.openConnection` on `https:`) [you can use sysprop `https.protocols`](http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html#Customization). Otherwise it depends on what classes or libraries you are using to make the connection; add to your question (with the edit button). – dave_thompson_085 Nov 16 '16 at 05:20

0 Answers0