javax.net.ssl.SSLProtocolException: handshakealert: unrecognized_name
解决方案
设置系统属性:System.setProperty ("jsse.enableSNIExtension", "false");
搞定。
本文提供了解决javax.net.ssl.SSLProtocolException错误的手动设置系统属性的方法:System.setProperty(jsse.enableSNIExtension false)。通过此步骤可以有效解决错误:handshakealert:unrecognized_name。
javax.net.ssl.SSLProtocolException: handshakealert: unrecognized_name
解决方案
设置系统属性:System.setProperty ("jsse.enableSNIExtension", "false");
2303
1万+
3487
3186

被折叠的 条评论
为什么被折叠?