Hi, Assuming you're running stunnel 4.50 and HAProxy 1.5: Stunnel conf: [frontend_ssl_offloading] cert = /path/to/certificate key = /path/to/key accept = LISTENING_IP:443 connect = 127.0.0.1:80 protocol = proxy
[server1_ssl_connection] cert = /path/to/certificate key = /path/to/key accept = 127.0.1.2:80 connect = SERVER_IP:443 protocol = proxy client = yes HAProxy configuration: frontend web mode http option http-server-close default_backend web backend web mode http option http-server-close balance roundrobin cookie SERVERID insert indirect nocache server srv1 127.0.1.2:80 check cookie srv1 The flow will be like that: client -> stunnel frontend -> HAProxy frontend -> HAProxy backend -> stunnel server -> server Hope this helps cheers On Fri, Feb 10, 2012 at 9:42 PM, <hapr...@serverphorums.com> wrote: > Hi. Willy. I am interested in your haproxy and stunnel setting "about > re-encrypt the traffic between haproxy and tomcat". could you post it, please? > > Thanks > > Jie > > --- > posted at http://www.serverphorums.com > http://www.serverphorums.com/read.php?10,230949,444281#msg-444281 >