I figured it out. The webserver was redirecting me to the index.html page so that is where the protocol was getting changed.
So now the question changes. Is there a function in stunnel for URL rewriting? In otherwords the webserver sends back "redirect yourself to http:// but stunnel intercepts that before it gets back to your browser to keep the connection secure?
Thanks,
Casey
-----Original Message----- From: stunnel-users-bounces@mirt.net [mailto:stunnel-users-bounces@mirt.net] On Behalf Of Casey Rayman Sent: Monday, January 08, 2007 10:10 AM To: stunnel-users@mirt.net Subject: [stunnel-users] URL changes in browser to http from https
I am just starting to experiment with stunnel on Debian Linux, using the standard debian packages. I've got it working so far accepting requests on the local port 443 and connecting on 80, but when the page loads the URL changes back to a non-secure address.
To illustrate:
https://192.168.1.10 loads a simple static web page and you get the normal warning for the certificate, but after the page loads the URL changes to http://192/168.1.10 . I thought this might just be IE or something but Firefox does it too. Could I be missing a setting in stunnel?
Any ideas?
Thank you, Casey _______________________________________________ stunnel-users mailing list stunnel-users@mirt.net http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Casey,
So now the question changes. Is there a function in stunnel for URL rewriting? In otherwords the webserver sends back "redirect yourself to http:// but stunnel intercepts that before it gets back to your browser to keep the connection secure?
No - URL rewriting is not supported by stunnel. AFAIK you could use another proxy for that (or better just enable SSL support on your web server).
Best regards, Mike