Environment details:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode).
We are using jboss-4.2.3.GA and thick client using ejb.
And we have tried to set the TLS1.2 version in the following ways:
Control Panel --> Programs-->Java-->Advanced Tab-->Advanced Security Settings checked the TLS1.1 and TLS1.2 and unchecked the remaining old versions. But still in Wire shark software we are seeing client is talking to server in TLSV1 only.
-Ddeployment.security.SSLv2Hello=false -Ddeployment.security.SSLv3=false -Ddeployment.security.TLSv1=false -Ddeployment.security.TLSv1.1=true -Ddeployment.security.TLSv1.2=true
Given in the startup script, but in Wire shark software we are seeing client is talking to server in TLSV1 only.
Reference link : https://superuser.com/questions/747377/enable-tls-1-1-and-1-2-for-clients-on-java-7
jdk.tls.disabledAlgorithms= SSLv2Hello, SSLv3, TLSv1, TLSv1.1
in the
jre/lib/security/java.security
andjdk1.7.0_40/jre/lib/security/java.security
. But still in Wire shark software we are seeing client is talking to server in TLSV1 only.Reference link : How to force java server to accept only tls 1.2 and reject tls 1.0 and tls 1.1 connections
Can somebody tell us how enforce TLS1.2 version for both client and server.