Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JDK 1.6.0_26 support for TLSv1.1

user580543-OracleOct 17 2016 — edited Oct 24 2016

Hi ,

We are using JDK 1.6.0_26.

We need to invoke rest WS which works using TLSv1.1.

We tried using java.lang.System.setProperty("https.protocols", "TLSv1.1"); 

But it throws

java.lang.IllegalArgumentException: TLSv1.1

  at com.sun.net.ssl.internal.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:133)

  at com.sun.net.ssl.internal.ssl.ProtocolList.<init>(ProtocolList.java:38)

Can anyone please help here as we can not upgrade Java on production immediately.

Thanks,

Vani

Comments

stephane.365

hi,

seems there is support for TLS 1.1 since JDK 6u111. But it is a paid update - not freely available.

stephane.365

The solution is:

TLSv1.1 & TLSv1.2 are available from Oracle in Java 6u121.

Regards,

Stéphane.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 21 2016
Added on Oct 17 2016
2 comments
15,303 views