Java 8 , JCE Unlimited Strength Policy and SSL Handshake over TLS

后端 未结 1 1386
滥情空心
滥情空心 2021-01-06 02:51

With Java 8, server which only supports TLSv1, it fails to make secure socket connection from cent OS

Version

java vers         


        
相关标签:
1条回答
  • 2021-01-06 03:22

    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

    0 讨论(0)
提交回复
热议问题