[stunnel-users] stunnel RHEL 6.3 and HTTPS header fields

xxxxxxxxxxxxxxxxx searay_43 at yahoo.com
Fri Jun 14 20:40:38 CEST 2013

I'm an Stunnel newbie so forgive me if this question has been asked previously. I am using stunnel to accept a connection from connect to hostname.somewhere.abc:443
Everything is working fine with the exception of a certain endpoint that responds with an HTTP status code of 403 "forbidden". What I have determined is that the server is rejecting the request due to the HTTP "Host:" field value, it's set to Is there anyway to pass the value of the config file "connect" property instead (in my case  "hostname.somewhere")?I have tried various config settings without success.
Config entry:
[testnesiis]client = yesaccept = = testnesiis:443;protocolHost = testnesiis:443protocol = proxy;sni = testnesiis;transparent = both

Thanks and Kudos to the authors of stunnel ! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20130614/a0f29061/attachment.html>

More information about the stunnel-users mailing list