On Sat, 2010-05-29 at 12:41 +0000, Lee Breisacher wrote:
> It appears that the default hostname verification in 4.1 is 
> BROWSER_COMPATIBLE, whereas the default in 3.x was ALLOW_ALL. Is that correct?
> 

This is correct.

> What is the easiest way for a simple 4.1 client to turn off hostname 
> verification?
> 

You should configure the SSLSocketFactory with
ALLOW_ALL_HOSTNAME_VERIFIER as described here:

http://hc.apache.org/httpcomponents-client-4.0.1/tutorial/html/connmgmt.html#d4e506

Hope this helps

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to