javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

问题解决了。!!!以下是解决方案。

对于Java 6:将以下jar添加到{JAVA_HOME} / jre / lib / ext中。1. bcprov-ext-jdk15on-154.jar 2. bcprov-jdk15on-154.jar

将属性添加到{JAVA_HOME} /jre/lib/security/java.security security.provider.1 = org.bouncycastle.jce.provider.BouncyCastleProvider

Java 7:从下面的链接下载jar,并将其添加到{JAVA_HOME} / jre / lib / security http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Java 8:从下面的链接下载jar并添加到{JAVA_HOME} / jre / lib / security http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

问题是它无法解密256位加密。

 

你可能感兴趣的:(javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure)