Web services 如何修复SSLHandshakeException

Web services 如何修复SSLHandshakeException,web-services,ssl,wsdl,em,oim,Web Services,Ssl,Wsdl,Em,Oim,当我试图在EnterpriseManager中解析wsdl时,我们遇到了以下错误。我该如何解决这个问题 无法分析WSDL文档。分析WSDL位置时发生以下错误-WSDLException:faultCode=PARSER_错误:无法读取位于“https:/xxx?WSDL”的WSDL文件,原因是:javax.net.ssl.SSLHandshakeException:javax.net.ssl.SSLHandshakeException:sun.security.validator.Validat

当我试图在EnterpriseManager中解析wsdl时,我们遇到了以下错误。我该如何解决这个问题


无法分析WSDL文档。分析WSDL位置时发生以下错误-WSDLException:faultCode=PARSER_错误:无法读取位于“https:/xxx?WSDL”的WSDL文件,原因是:javax.net.ssl.SSLHandshakeException:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径生成失败:sun.security.provider.certpath.SunCertPathBuilderException:找不到请求目标的有效证书路径

确保将所需的CA证书添加到所需的证书数据库文件中,就像应用程序/Web服务器使用JDK的一个then文件应该是${JAVA_home}/jre/lib/security/cacerts

您可以交叉检查您的证书是否已添加。 keytool-list-keystore${JAVA_home}/jre/lib/security/cacerts


密钥库文件路径可能因服务器配置而异。

您需要将顶级签名证书包括到信任密钥库中。您用来访问wsdl URL的应用程序是什么?当您从浏览器(我指的是wsdl URL)打开页面时会发生什么?你试过了吗?