Denis,

Looks like your configuration is incomplete. Check  the sample stunnel.conf file in the stunnel distribution. Read the man page. Post your log file.

Try adding lines like these before [Router]

sslVersion = SSLv3

cert=stunnel.pem
key=stunnel.pem

# Authentication stuff, try 0 for test
verify = 0

CApath = /your/CAcerts/path

debug = 7
output = stunnel.log




From: Denis Berezhnoy <denis.berezhnoy@gmail.com>
To: stunnel-users@stunnel.org
Sent: Tuesday, January 24, 2012 6:10 PM
Subject: [stunnel-users] No SSL handshake between stunnel in client mode and SSL server

Hi guys,
I have a quick question. I am trying to use stunnel in client mode to encrypt traffic going to my server.
Basically, I have a server which listens for SSL connection. And I have a client which can not do SSL but it needs to communicate with server over SSL.
I setup stunnel in client mode to accept unecrypted traffic from client and redirect it to server over SSL. I checked TCP traffic with WireShark between stunnel  and my server and I can see that there is no SSL handshake, stunnel makes TCP connection with server and sends some TCP packets but I expect to see SSL handshake.
My stunnel conf file is here:
[Router]
client=yes
accept = 192.168.1.121:55555
connect = 192.168.160.168:55443
Can you please comment on this?
Best regards,
Denis

_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
http://stunnel.mirt.net/mailman/listinfo/stunnel-users