mongrel and ssl

Hi,

I currently have an app running using Mongrel, and need to add SSL to certain functions. I found this link (http://www.styledbits.com/ articles/2006/06/04/adding-ssl-to-your-rails-app-in-5-minutes) hunting through the archives, and was wondering if this is actually all that would be required (aside from getting a server certificate)?

Has anybody used this successfully, or have any other suggestions for how to accomplish it?

Thanks,

Simon

that link seems to be down so not sure what that is all about but here is the tutorial I used to originally setup the whole shebang, ssl and all:

http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/

assuming your running apache too...

Tim

For the nginx crowd:

http://rubyjudo.com/2006/11/2/nginx-ssl-rails

and

http://brainspl.at/articles/2007/01/03/new-nginx-conf-with-optimizations

Cheers,

Walter

You should also note that the ssl_requirement plugin from 37signals wraps up the code in that styelbits blog post nicely (not that there is a lot).

It’s repository be found here:

http://dev.rubyonrails.org/svn/rails/plugins/ssl_requirement/

Cheers,

Walter

Using that repository, what else needs to be done to get SSL up and running using mongrel? Obtain a certificate, and then anything else? Can Mongrel do this without having Apache running in front of it?

Thanks again,

Simon