【问题标题】:How to fix SSLHandshakeException如何修复 SSLHandshakeException
【发布时间】:2017-12-22 09:21:12
【问题描述】:

当我尝试在企业管理器中解析 wsdl 时,出现以下错误。我该如何解决这个问题。

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

【问题讨论】:

  • 您需要将顶级签名证书包含到您的信任密钥库中。您用于访问 wsdl URL 的应用程序是什么?
  • 当您从浏览器打开页面时会发生什么,我的意思是 WSDL Url?你试过了吗?

标签: web-services ssl wsdl oim oracle-enterprise-manager


【解决方案1】:

确保将所需的 CA 证书添加到所需的 CERT db 文件中,例如使用 JDK 的 App/Web 服务器是否应该是 ${JAVA_home}/jre/lib/security/cacerts。

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-05
    • 2019-11-27
    • 2019-12-16
    • 2015-05-01
    • 2016-06-07
    • 2017-05-11
    • 2014-01-08
    • 2023-03-11
    相关资源
    最近更新 更多