javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 解決方案

 

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 解決方案

這個是jdk致使的,jdk裏面有一個jce的包,安全性機制致使的訪問https會報錯,官網上有替代的jar包,換掉就行了html

目錄 %JAVA_HOME%\jre\lib\security裏的local_policy.jar,US_export_policy.jarjava

JDK7 http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html安全

JDK8 http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.htmloracle

相關文章
相關標籤/搜索