天天看點

Received fatal alert: handshake_failure

除了網上能搜到的解決方案,再檢查一下JVM系統參數-Djsse.enableSNIExtension有沒有被設定為false

官方介紹

jsse.enableSNIExtension system property. Server Name Indication (SNI) is a TLS extension, defined in RFC 4366. It enables TLS connections to virtual servers, in which multiple servers for different network names are hosted at a single underlying network address.

Some very old SSL/TLS vendors may not be able handle SSL/TLS extensions. In this case, set this property to false to disable the SNI extension.

refer http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html#Customization