javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
这个错误网上很多帖子说是jdk版本问题, 我试了不管用
只需要在请求代码前面加上
System.setProperty("https.protocols", "TLSv1");
这行代码 完美解决
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
这个错误网上很多帖子说是jdk版本问题, 我试了不管用
只需要在请求代码前面加上
System.setProperty("https.protocols", "TLSv1");
这行代码 完美解决