On Wed, Dec 12, 2007 at 09:36:35AM +0000, Mario Neè wrote:
i'm trying to connect a stunnel client to the welcome page of Apache in Centos 5 (Fresh install with no changes to Apache conf).
command to create a client (on Feisty Fawn Ubuntu): sudo stunnel -c -d 1443 -r 192.168.x.x:443
This takes what is sent to local port 1443, encrypts it, and sends it like that to the remote 192.168.x.x:443 This means that the remote Apache needs to be listening on port 443 with ssl enabled there. Is this what you wanted?
if i try to connect to http://localhost:1443 and a look in /var/log/syslog i see this error: SSL_connect: error:1408F06B:SSL routines:SSL3_GET_RECORD:bad decompression.