javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake异常处理记录

1、修改Java\jre\lib\security\java.security文件

crypto.policy=unlimited

2、增加配置

-Dhttps.protocols=TLSv1.1,TLSv1.2

参考:https://stackoverflow.com/questions/21245796/javax-net-ssl-sslhandshakeexception-remote-host-closed-connection-during-handsh

猜你喜欢

转载自blog.csdn.net/fudayy/article/details/82980119