javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
我的jdk版本是1.8.0_301
在调用https接口时,出现以下错误
No appropriate protocol (protocol is disabled or cipher suites are inappropriate); nested exception is javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
解决方法
修改在java安装目录的java.security文件,我的是在C:\Program Files\Java\jdk1.8.0_301\jre\lib\security
注释掉这三行就OK,我网上有人说删除SSLv3
就可以,但我试过不行