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

猜你喜欢

转载自navidwang-gmail-com.iteye.com/blog/2390521
今日推荐