QQ邮箱ssl连接出现javax.net.ssl.SSLHand

2019-02-15  本文已影响0人  装完逼立马跑

jdk 7 http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
jdk 8 http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
从官网下载jar,替换jre/lib/security里面的两个jar就解决了。
其余方法(改代码,该jvm参数等等)都无效。
参考:
https://blog.csdn.net/fsafs168/article/details/82020959
https://stackoverflow.com/questions/38203971/javax-net-ssl-sslhandshakeexception-received-fatal-alert-handshake-failure

上一篇下一篇

猜你喜欢

热点阅读