[stunnel-users] Fw: Using stunnel to add https to a webserver that doesn't have ssl setup
meresponde2001-stn at yahoo.es
Fri Nov 2 15:35:47 CET 2012
On Tue, 30 Oct 2012 15:05:54 -0700 (PDT)
Michael Avanessian <mkanet at yahoo.com> wrote:
> Thanks. I typically let my webserver handle SSL whenever I can since it's much
> easier that way; especially since I know how to handle http->https urlrewrites
> that way already; and, plenty of examples on the web for IIS. The reasons for
> adding stunnel into the mix in this scenerio completely outweight not having it
> at all. I couldn't find any examples anywhere showing how to handle a simple
> Hopefully someone here has the expertise to offer a solution at least in html.
The easiest way is to use a server side language as PHP and ASP or
CGI/perl (if ISS is capable, that I don't know).
ISS is capable of PHP and, if you are using it, because you didn't
tell, is easy (easy, but I haven't done as I don't know much of PHP
(I just played a couple of times with it following tutorials)). With
ASP, I don't know, but should be possible too.
Here you have an example with PHP:
or this one:
http://stackoverflow.com/questions/5106313/redirecting-from-http-to-https-with-php (second message).
As I said, you have to do it transparent to the user without
relying on them.
More information about the stunnel-users