I have a java based application. It tries to connect a web server through HTTPS. But, it fails in very first step of hand shake. I took tcp trace. I also check connection via browser. Browser connects successfully, even java fails. I took its tcp trace too. I checked the difference. Even they both uses TLSv1.2, their "Client Hello" messages are different. Java one uses "SSL Record Layer", browser uses "TLSv1.2 Record Layer" for "Client Hello" message.
Here screenshots of tcp dumps.
and, detailed message of package of java
and, browser:
and, detailed message of package of browser
Some versions informations:
Java version is 8 (source application, working in 10.x.x.170) Java application is working in JBoss 6.4 (source application) Web application works under IIS (Windows Server 2012, working in 10.x.x.171)
Question: How can I force java application to use same protocol with browser (browser looks working).



