Metro web service client and certificates error
I am trying to connect to a HTTPS web service using metro 2.1. I have
downloaded the certificate from the browser and used keytool to import the
client certificate. Initially, I used JSSE to direct my client to use the
certificates from a file. Unfortunately, it didnt work as I am getting
*com.sun.xml.ws.client.ClientTransportException: HTTP transport error:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target*
Then I tried updating the cacerts file of my jre. This didnt help either.
Could someone please point what could I be missing.