(Oops, I just found this un-sent, sorry)
> From: owner-openssl-us...@openssl.org On Behalf Of Carol Walter
> Sent: Thursday, 29 January, 2009 11:28

> ... I'm trying to use openssl to connect to postgres.  The  
> process is not working.  When I try to connect using s_client without  
> any of the postgres bits, ...
> walt...@cat:~$ openssl s_client  -debug -connect db:5433
> CONNECTED(00000005)
> write to 0008C418 [0008F170] (142 bytes => 142 (0x8E))
...
> read from 0008C418 [000946D0] (7 bytes => 0 (0x0))
> 12245:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake  
> failure:../../../../common/openssl/ssl/s23_lib.c:226:
> 
> Is there a verbose command that will give me more information?  While  
> the hex dump is a lot of detailed information, I don't what it's  
> telling me.
> 
Not really. After your client system sends the ClientHello, 
the server is being disconnected. No alert, no explanation, 
just disconnected. Possibly it's not set up to do SSL, or 
not on this port, or perhaps not this version -- what happens 
if you specify -ssl2, -ssl3, or -tls1? If that's not it, 
try looking in the server's log(s) (or having someone do so for you)
at the time of an attempt and see if it says anything relevant.



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

Reply via email to