Gordon Philip wrote:
I'm trying to access a SSL site using %Net.HttpRequest (Cach� 5.0.5 under XP) by converting the http request to https using stunnel but have hit a brick wall. It seems that the destination site is not being passed through or more likely I've configured something incorrectly
Here is the cos routine S HttpRequest=##Class(%Net.HttpRequest).%New() S HttpRequest.Server="www.thawte.com" S HttpRequest.ProxyHTTPS=1 S HttpRequest.ProxyPort=8080 S HttpRequest.ProxyServer="127.0.0.1" D HttpRequest.Get("/") D HttpRequest.HttpResponse.OutputToDevice()
and here is my stunnel.conf
client = yes debug = debug
[https] accept = 8080 connect = 443 TIMEOUTclose = 0
Any comments/help gratefully received
For what it's worth, to make stunnel work:
S HttpRequest=##Class(%Net.HttpRequest).%New()
S httprequest.Server="127.0.0.1"
D HttpRequest.Get("/")
D HttpRequest.HttpResponse.OutputToDevice()and in stunnel.conf
client = yes service = stunnel-http
[stunnel-http] accept = http connect = www.thawte.com:https
Not arguing that it's better than DeleGate though. For one thing, the destination address is hard-coded. OTOH, I'm thinking that stunnel version 2 addressed the stability concerns voiced earlier.
