调用 WebService 时 SSL 握手失败

SSL handshake failed when calling WebService

我在 https 下从 Java1.4 调用网络服务时遇到错误 "javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed"。 http下的相同调用(相同代码)不会失败。 jdk1.4有问题吗?我已经使用 keytool

导入了证书

任何帮助将不胜感激

终于,我得到了答案。 JDK1.4 不识别域 ssl 证书中的算法(不支持)。我确实升级到jdk1.6,错误没有了。

Here is some documentation about the Handshake error that is related to IOException