nrv opened a new pull request #226:
URL: https://github.com/apache/httpcomponents-client/pull/226


   Some website have badly configured their SSL/TLS and it is not correctly 
managed by java, thus having an exception instead of  simple warning : 
"javax.net.ssl.SSLHandshakeException: received handshake warning: 
unrecognized_name". This is a know problem for java > 8
   
   The solution to bypass this problem is to disable the SNI extension but it 
could only be done at the JVM level with a -D option of programmatically with 
System.setProperty("jsse.enableSNIExtension", "false")
   
   This patch allows to disable the SNI verification for a single 
SSLConnectionSocketFactory, as explained here : 
https://stackoverflow.com/questions/55903477/received-handshake-warning-unrecognized-name


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to