【问题标题】:wso2 esb analytics hostname in certificate didn't match: <ip adress> != <localhost>证书中的 wso2 esb 分析主机名不匹配:<ip 地址>!= <localhost>
【发布时间】:2018-04-24 22:26:22
【问题描述】:

当我集成 wso2 esb 和分析时,我得到证书中的主机名不匹配:&lt;ip adress&gt; != &lt;localhost&gt;。我试过this article

但在 wso2 esb 分析中已解决,但 wso2 esb 抛出此错误

错误 - 尝试连接到端点时出现 DataEndpointConnectionWorker 错误。无法为 ssl://localhost:7712 借用客户端 org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException:无法为 ssl://localhost:7712 借用客户端

sun.security.validator.ValidatorException:PKIX 路径验证失败:java.security.cert.CertPathValidatorException:签名检查失败

【问题讨论】:

  • 您是否创建了以 IP 为 CN 的新证书?
  • 是的,我在分析中创建了我的 IP 地址作为名字和姓氏,但现在在分析中解决了问题,正如我提到的,esb 抛出了上述异常

标签: wso2 wso2esb


【解决方案1】:

确保将新的公共证书安装到 ESB 的客户端信任库。见this

【讨论】:

  • 首先我通过导入公共证书在分析中得到了 != 异常,更改了 carbon.xml 文件,但分析现在工作正常。但是 ESB 在连接时会抛出我提到的异常
  • 您是否将证书导入 ESB?
猜你喜欢
  • 1970-01-01
  • 2020-10-03
  • 2019-02-07
  • 2021-07-07
  • 2018-06-18
  • 2012-12-25
相关资源
最近更新 更多