[stunnel-users] stunnel RHEL 6.3 and HTTPS header fields
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 http://127.0.0.1:someport/url/to/wsdland 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 127.0.0.1. 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.
[testnesiis]client = yesaccept = 127.0.0.1:1445connect = 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...
More information about the stunnel-users