Re: Issue on SSL

From: Nelson Serafica <>
Date: Tue, 9 Jun 2009 18:06:15 +0800

I'm now looking into stunnel + haproxy.

This is a dumb question for a gnubie like me.

How do I patch stunnel-4.22-xforwarded-for.diff? I have unpack stunnel-4.20. Change to that directory and do the command "patch < ../stunnel4.20.patch". The context of stunnel4.20.patch was

However, when I do the patch command, it says:

can't find file to patch at input line 4 Perhaps you should have used the -p or --strip option? The text leading up to this was:

|diff -urN --exclude=.flxpkg stunnel-4.20-old/doc/stunnel.8
|--- stunnel-4.20-old/doc/stunnel.8     2006-11-15 20:51:32 +0100
|+++ stunnel-4.20-patched/doc/stunnel.8 2007-08-08 15:59:50 +0200

File to patch:

This is the same command I'm doing when patching patch in my qmail installation.

I'm not a programmer but don't find any problem on line 4 of the patch file.

Could anyone help me find solution?

On Tue, Jun 9, 2009 at 4:35 PM, Nelson Serafica <>wrote:

> I just installed haproxy and it was working fine for two days now. Now,
> I'll be implementing SSL on my backend server so here I go again.
> I have configured haproxy and it has cookie enabled to retain sessions
> since there is authentication involved in the web services. However, it
> seems it was not possible using SSL because the mode must be tcp instead of
> http. Therefore, there is no way I can use SSL using mode http. Right now, I
> need to have the headers X-Forwarded-For and cookie session using SSL.
Received on 2009/06/09 12:06

This archive was generated by hypermail 2.2.0 : 2009/06/09 12:15 CEST