On Friday 05 December 2008 2:44:41 pm Sriram C wrote:
> Hi,
> I am accessing a SOAP service over https using CXF 2.1.3. The CN on the
> cert for the service doesn't match the SSLSessionHost, so I need to set a
> default host name verifier on HttpsURLConnection. I do this in the code and
> it works fine, however I would like to move the client bootstrapping to
> Spring and am unable to figure out how to set the default host name
> verifier via Spring configuration. Please help me by pointing @ the
> appropriate docs or examples.

I don't think there is a way via config right now.   The closest is to put the 
disableCNCheck="true" attribute onto the tlsClientParameters element to 
completely turn off the hostname check.


-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog

Reply via email to