我正在尝试使用 AnypointStudio 在 Mule 中使用带有 HTTPS url 的 SOAP 服务

I am trying to consume a SOAP service with an HTTPS url in Mule with AnypointStudio

enter image description hereI am trying to consume a SOAP service with an HTTPS url in Mule with AnypointStudio,但它向我发送错误

"un.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target "

我该如何解决? 强调文字

我假设您尝试使用的 Web 服务需要 SSL 证书。 因此,当您配置 Web 服务消费者组件时,您需要 specify/configure TLS 上下文。单击安全选项卡和 select WS-Security 签名。单击绿色加号打开 TLS 上下文对话框

并在 TLS 选项面板中指定 TrustStore 和 Keystore 路径

因此,当请求发送到 web 服务消费者 mule 时,沿着此处指定的证书发送,它告诉 web 服务主机该请求来自有效来源,并且可以发送回复