ssl handshake fail when proxy between two tomcat with mutual authentication

bhagt nginx-forum at
Wed Sep 21 09:16:45 UTC 2016

Hi all,

I have configured nginx to do mutual authentication to a loadbalancer
(ssl-offloading) which sends the http traffic to a webserver with virtual

Keep getting the following error:

SSL_do_handshake() failed (SSL: error:14094410:SSL
routines:SSL3_READ_BYTES:sslv3 alert handshake failure:SSL alert number 40)
while SSL handshaking to upstream

if run nginx in debug mode i only see a small ssl client-hello.

But if i use openssl:

openssl s_client -state -debug -showcerts -verify 0 -connect <my_vip>:443

i can see the handshake.

Any help/lead would be appreciated.



Posted at Nginx Forum:,241171,269719#msg-269719

More information about the nginx mailing list