Re: Is it possible to use the JAX-RS Client API to go through an SSL-secured Proxy with authentication?

2017-02-28 Thread Vjacheslav V. Borisov
You can try system properties -Djavax.net.ssl.trustStore=... -Djavax.net.ssl.keyStore=... -Djavax.net.ssl.keyStorePassword=... This usually work for any type of protocol (https,ldaps, ssl database connections) 2017-03-01 3:29 GMT+04:00 Andy McCright : > Hi All, > >

Re: DOSGi-1.7.0 - How/where to set disableCNCheck in Karaf.

2017-02-28 Thread Erwin Hogeweg
Thanks Christian. Erwin > On Feb 28, 2017, at 3:17 PM, Christian Schneider > wrote: > > Not sure if this is possible with CXF-DOSGi 1.7.0. IT should work with > 2.1.0 though. > > See >

Is it possible to use the JAX-RS Client API to go through an SSL-secured Proxy with authentication?

2017-02-28 Thread Andy McCright
Hi All, I have a user that is trying to use the JAX-RS Client APIs in WebSphere Liberty (based on CXF 3.1.8) to make a secured HTTPS request to a remote server via a secured proxy server using authentication. Here is a snippet of their code: MultivaluedMap headers = new

Re: DOSGi-1.7.0 - How/where to set disableCNCheck in Karaf.

2017-02-28 Thread Christian Schneider
Not sure if this is possible with CXF-DOSGi 1.7.0. IT should work with 2.1.0 though. See https://github.com/apache/cxf-dosgi/blob/master/samples/ssl/ssl-intent/src/main/java/org/apache/cxf/dosgi/samples/ssl/SslIntent.java You can create an intent with the ssl config and add it to your service.

DOSGi-1.7.0 - How/where to set disableCNCheck in Karaf.

2017-02-28 Thread Erwin Hogeweg
Hi, I am running DOSGi-1.7.0 on a client with the remote services defined in a remote-services.xml file. Everything runs fine with http, and now I am adding https to the mix. The cert. I am using is not valid (not defined) for the test server so I am getting this message: Caused by: