With Java 8, server which only supports TLSv1, it fails to make secure socket connection from cent OS
TLSv1
Version
java vers
Try limiting the protocols to just TLSv1 using:
-Djdk.tls.client.protocols=TLSv1
See this page for more details: https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#descPhase2
Hope this helps,
Yuri