My goal is to deploy a simple rails application on a windows server using the glassfish gem.
I have no trouble getting the glassfish gem to work with regular http, however I now need to add SSL security and I cannot find any links on how to enable https in the glassfish gem.
Has anyone succeeded in setting up the glassfish gem to support SSL?
Are there any other ways to serve a rails application over SSL on windows without any additional software installation (e.g. IIS, Glassfish, jBoss)?
I use jetty-rails gem and I coded SSL support in it.
If you choose to use jetty-rails as well you can follow these instructions to add SSL.
Make sure you use jetty-rails version 0.6 as current 0.8.1 is buggy.
I’m sure that GlassFish too can be made to use SSL in a similar way.
I chose Jetty as it seems faster (startup) smaller and easier to change the source.
jetty_rails-0.6/lib/jetty_rails/server.rb +32
how to generate a certificate store (keystore.jks)
See here: http://docs.codehaus.org/display/JETTY/How+to+configure+SSL
RAILS_ROOT/config/jetty_rails.yml
start the server