Hey,

is it possible for you to use Spring for instance ?

If it is then you should have a look to
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-ConfiguringSSLSupport

HTH

Regards
--
Prisca

On Fri, Aug 5, 2011 at 5:10 PM, Penmatsa, Vinay <[email protected]>wrote:

> I'm unable to set the 'disableCNCheck' programmatically as below:
>
> HTTPConduit http = (HTTPConduit) client.getConduit();
> TLSClientParameters param = new TLSClientParameters();
> param.setDisableCNCheck(true);
> http.setTlsClientParameters(param);
>
>
> What's the correct way to do this?
>
>
> Thanks,
> Vinay
>

Reply via email to