Here is a test that shows how it is done in code. Most examples use Spring.

https://github.com/apache/cxf/blob/716fdf482383cdc2978d36af4f9b9f973098dce5/systests/transports/src/test/java/org/apache/cxf/systest/https/trust/TrustManagerTest.java#L117

Note that you need to be careful with the configuration, as it's easy to
end up trusting the wrong cert, etc. For example, in a real-world deploment
you would not set "tlsParams.setDisableCNCheck(true);" as in the test
example above.

Colm.

On Fri, Jan 19, 2018 at 11:55 AM, Al Grant <bigal...@gmail.com> wrote:

> Thanks. I looked at the link and see quite a few parameters but are not
> sure
> what/where how to apply them?
>
> Do I modify the instance of org.apache.cxf.endpoint.Client client in my
> code?
>
> Is there a working example I can be pointed to?
>
> Thank you
>
>
>
>
>
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
>



-- 
Colm O hEigeartaigh

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

Reply via email to