http://www.jroller.com/gmazza/entry/ssl_for_web_services ; you'll need to put the server provider's public key in your client JRE's truststore (or a truststore specifically attached to the client as mentioned in the link.)

HTH,
Glen

On 01/05/2012 01:31 PM, uib wrote:
I am trying to consume a web service call that uses https.

I am getting this error:

Exception in thread "main"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: 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

while searching I have seen that this might be because the server
certificate is not issued by certification authority, but a self signed or
issued by a private CMS.

but when I connect to the wsdl through the browser I do not get any warning
about the certificate.

I have also seen that you need to configure a http conduit so that it will
make proper use of SSL.

Is this my problem?

If it is is there any clear and easy explanation how to set this up because
I have not understood the documentation that I have read.

Any help would be very appreciated.


--
View this message in context: 
http://cxf.547215.n5.nabble.com/consumig-a-web-service-with-https-tp5123480p5123480.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders
http://coders.talend.com
blog: http://www.jroller.com/gmazza

Reply via email to