I've written Java client to access a securely-served Web service, however the certificate used by the Web service host is not issued by certification authority, but a self signed or issued by a private CMS. I get the following error:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target