FC8 - Stunnel - HAProxy

From: Jill Rochelle <jrochelle#digitalchalk.com>
Date: Mon, 17 Mar 2008 12:10:58 -0400


Has anyone been able to get Fedora Core 8, Stunnel 4.20 and HAProxy 1.2.17 to work together?

I'm having a problem where as it doesn't appear that it's forwarding https although it asks to accept the self sign certificate. It remains http instead of https in the URL.

Any ideas? (I did apply the patches from HAProxy site for Stunnel)

Thank you,
Jill Rochelle

Here is my haproxy config: Just testing 1 server for now

global

        log     127.0.0.1 local0 info
        maxconn 40000
        ulimit-n 80000
        uid     0
        gid     0


listen learn 10.252.75.70:80
        mode    http
        balance roundrobin
        option forwardfor except 10.252.75.70
        cookie SERVERID insert indirect nocache
       option httpchk
        server learn1 10.251.73.159:8080 cookie learn1Acookie check

Here is stunnel config:

cert = /usr/local/etc/stunnel/stunnel.pem socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

[https]
accept = 10.252.75.70:443
connect = 10.252.75.70:80
xforwardedfor=yes
TIMEOUTclose = 0 Received on 2008/03/17 17:10

This archive was generated by hypermail 2.2.0 : 2008/03/17 17:15 CET