Hi

Is there a way to set https transport to be TLSv1.1 or TLSv1.2 using the 
RPCClient? We are using Java 7. 

Exception: Received fatal alert: handshake_failure

With Java 7 even thought TLS1.1 and 1.2 are supported they are not enabled by 
default. I have tried various ways to enable these but with no luck.

Java 7 Supported Protocols: 5
 SSLv2Hello
 SSLv3
 TLSv1
 TLSv1.1
 TLSv1.2

Enabled Protocols: 1
 TLSv1

Solutions I have tried till now and have not worked:
1. Set -Dhttps.protocols=TLSv1.1,TLSv1.2 on the client.
2. java.lang.System.setProperty("https.protocols", "TLSv1.1");

Thanks
Amit

Reply via email to