On 09/30/2013 10:36 PM, Odays wrote:
In TCPMon  I put that it  listen in port 7777 and redirect to port 1234.

In Stunnel I put this configuration:
client=yes
verify=0
[my-https]
accept  = 127.0.0.1:1234
connect = webservices_server:443
TIMEOUTclose = 0

When i run the scenario I see this log:

2013.09.30 16:12:57 LOG7[8612:6032]: Service [my-https] started
2013.09.30 16:12:57 LOG5[8612:6032]: Service [my-https] accepted connection from 127.0.0.1:51759
2013.09.30 16:12:57 LOG7[8612:6032]: SSL state (accept): before/accept initialization
2013.09.30 16:12:57 LOG3[8612:6032]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
2013.09.30 16:12:57 LOG5[8612:6032]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2013.09.30 16:12:57 LOG7[8612:6032]: Local socket (FD=448) closed
2013.09.30 16:12:57 LOG7[8612:6032]: Service [my-https] finished (0 left)

Any idea about this error?

IMHO this error is impossible with the configuration file that you provided.
SSL_accept is never used with "client=yes".

Mike