Hi

have a look at CXF HttpConduit configuration info at the CXF wiki

Another issue here is the possible substitution issue, see
https://issues.apache.org/jira/browse/CXF-4811

Try use a specific URI value first with a proper HttpConduit config, and then move to using a var and let us know how it goes
Cheers, Sergey
On 17/11/14 23:09, salemi wrote:
Hi,

I am trying to connect to a rest full service using jaxrs client and I get
the following exception:

javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException:
SSLHandshakeException invoking
https://10.120.10.11/services/consumer/datasource/consumer:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

how can bypass the validation of ssl?

The code I using looks like the following:

  <jaxrs:client id="dsiClient" address="${url}"
serviceClass="ConsumerServiceResource"
     username="admin" password="admin">

Thanks,
Ali



--
View this message in context: 
http://cxf.547215.n5.nabble.com/getting-exception-trying-to-connect-to-https-with-jars-client-tp5751232.html
Sent from the cxf-user mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to