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
网友评论