I have applied SSL certificates to one web service(deployed on Microsoft IIS server). When i access that web service directly, it is working fine and i am able to access that web service using https.
Now, i am trying to connect to that webservice using
java server in the middle and i am getting problem in this scenario.
So scenario is :
client --accesses-->application deployed on java server----calls--> Web service that is deployed in Microsoft IIS server.
I am not sure, if i am going to IIS server with java server in middle, why is it giving exception.
Exception is :
Error ; nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
unable to find valid certification path to requested target
Please help.