You are here: Forums Rails in the workplace SSL with Rails...
Posted in Forums : Rails in the workplace
Authority 25
Posting Rating 0
Sign in to rate this post
|
im just addressing some security aspects that we have to deal with rails web application.. A common implementation which have been using almost every site in the world today is SSL.. So could anyone give me some clues to integrate ssl with rails applications using webrick, mongrel or any other well known web servers…. |
Authority 25
Posting Rating 99
Sign in to rate this post
|
Amila, If you’re using Mongrel and Apache’s mod_proxy_balancer then you can implement SSL at the Apache level. Here’s an old howto that should still prove useful. |
Authority 25
Posting Rating 86
Sign in to rate this post
|
Amila, Unless you’re just messing around you, won’t want to use webrick as it’s rarely, if ever, mentioned in discussions of “production” apps. Nginx is fairly common and is pretty simple to setup with SSL. Here’s the general process for creating a self-signed certificate on Ubuntu. The process shouldn’t be too different on most linux variants. You can replace the steps for generating the cert with the steps from a number of ssl certificate sellers. GoDaddy has a pretty comprehensive list of servers and the instructions for generating the CSR needed to obtain a production-ready certificate for each. Mongrel doesn’t much care about SSL either way when setup behind a proxy/load balancer like Apache or Nginx. Jason |
Authority 50
Posting Rating 0
Sign in to rate this post
|
We had gone through this same experience at AisleTen with one of our projects were only part of the needs to be SSL (ie: after login) and so you have to have forms post to the SSL site and then stay on the SSL site. Micah wrote a quick post about it on our blog here: http://blog.aisleten.com/2008/06/02/beware-of-ssl_requirement/. Hope it helps. |
Rails in the workplace : Rails apps maintenance
Rails in the workplace : problem installing antwrap0.7.0
Rails in the workplace : Problem with fck editer
Rails in the workplace : how to configure https in rails application
Rails in the workplace : Issues in Migration to Ruby On Rails
Rails in the workplace : SSL with Rails
Rails in the workplace : Blogs in rails
Rails in the workplace : Great Rails resource to help you with your job!
Rails in the workplace : [ANN] RubyOnRails Workshops in the East Midlands, UK
Rails in the workplace : Careful! Trying to get rails adopted can get you fired!