Testing HTTPS app on Localhost (Lighttpd)


#1

Hi Railers,

Subject says it all, really.

I have an app with a secure section that I’m trying to develop on my
local
machine. I’m using this method of switching to HTTPS (SSL):

http://article.gmane.org/gmane.comp.lang.ruby.rails/13490

Seems to work fine, except the connection is refused, but that’s a sign
of it
working (there’s just nothing to answer it). Also initially tried this
method of using Webrick and SSL, but I think script/server must have
changed
a fair bit since then, so it doesn’t work:

http://wrath.rubyonrails.org/pipermail/rails/2005-January/001993.html

So anyway, now I’ve installed Lighttpd locally, and my script/server
starts it
up instead of Webrick, and I’m sure it must be possible (easy?) to get
Lighty
to respond to SSL connections too, just wondered if anyone has a
config/lighttpd.conf that achieves this, since it’s undoubtedly worthy
of
going in the Wiki (I’ll do it once I’ve figured out how to make it
work).

If not, how are you developing your SSL apps?

Cheers,

~Dave

Dave S.
Rent-A-Monkey Website Development
Web: http://www.rentamonkey.com/