We have a java application which runs on Java Version: 1.7.0_80
and we are trying to enable TLSv1.2
with the jvm argument -Dhttps.protocols=TLSv1.1,TLSv1.2
-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2-Ddeployment.security.TLSv1=false
-Ddeployment.security.TLSv1.1=true
-Ddeployment.security.TLSv1.2=true
to consume a web service which supports only TLSv1.2
. Though we have the jvm argument java client still using TLSv1
for communicating with web services,
can someone please help me is there any jvm configurations I need to make to use TLSv1.2 without any code change?