In Stunnel,I have this configuration:
[ws]
client = yes
accept = 127.0.0.1:80
connect = webservice.it:443
I make a http request to 127.0.0.1:80 and I want that stunnel redirect to webservice.it:443.
But it doesn't work.
In the log I have this error:
LOG6[]: Peer certificate not required
LOG7[]: TLS state (connect): before SSL initialization
LOG7[]: TLS state (connect): SSLv3/TLS write client hello
LOG3[]: SSL_connect: Peer suddenly disconnected
LOG5[]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
LOG7[]: Deallocating application specific data for session connect address
How can I do? Thanks a lot