>From: owner-openssl-us...@openssl.org On Behalf Of Mithun Kumar
>Sent: Thursday, 30 August, 2012 02:04

>Also when i use s_client tool it just hangs with following output. 
>Any input on how to get full handshake dump?

>... openssl s_client -connect ... -state  -debug -msg
>CONNECTED(00000003)
>SSL_connect:before/connect initialization
>write to 09050898 [090508E0] (142 bytes => 142 (0x8E))
<snip>
>>> SSL 2.0 [length 008c], CLIENT-HELLO
<snip>
>SSL_connect:SSLv2/v3 write client hello A>

-debug and -msg (you probably don't need both) *do* dump 
all data resp. messages sent and received. The server 
isn't responding to the hello, and that's why you're hanging.

Make sure the server is doing SSL on that port; many (other) 
protocols if they receive garbage, which is what SSL looks like, 
may just keep waiting. 

Also make sure it's able and willing to do SSLv2; some recent 
software doesn't. If server accepts only SSLv3/TLS, it may ignore 
the SSLv2 ClientHello as invalid format and keep waiting for 
a "valid" ClientHello, which OpenSSL here won't be sending. 
Try s_client with -ssl3 or -tls1, or at least -no_ssl2 .
If that works, change or configure your client app accordingly.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to