On Fri, 2017-05-05 at 09:49 -0400, Hassan Khan wrote: > Hi, > > Finally I could solve the issue... the problem was using NIO > connector with > httpclient 4.5 > > once I changed the connector to APR the problem went away. > The right setting is: > <Connector > protocol="org.apache.coyote.http11.Http11AprProtocol" > port="443" clientAuth="false" sslProtocol="TLS" > SSLEnabled="true" maxThreads="150" scheme="https" secure="true" > SSLCertificateFile="ABC.crt" > SSLCertificateKeyFile="TRE.key" > SSLEngine="on" SSLVerifyDepth="2" > /> > > Still do not understand how httpclient 3.1 would work with Nio > connector > properly. >
httpclient 3.1 does not perform hostname verification of any kind. I strongly suspect that if you disable hostname verification in httpclient 4.x it should work with the NIO connector as well. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org