开发者

HTTPS Certificate issue

I am getting following error while using certificate file, I have generated truststore of the same and passing it to XmlRpcCommonsTransportFactory

org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.开发者_StackOverflow中文版SunCertPathBuilderException: unable to find valid certification path to requested target


What I think you're dealing with is a certificate chain issue and not an XML-RPC specific issue.

You will need to look up how to get your XML-RPC client to implicitly trust the certificate and not do more than a cursory validation.

There are examples of this, I'm just not sure how to tie it to your particular XML-RPC client.


The issue here is that your truststore doesn't trust the certificate provided by the peer.

I have generated truststore of the same

What exactly do you mean by that?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜