I am having problem in redirecting to https. My rails application is running at localhost with url like http://localhost:3000. I want that certain actions should go through secure socket layer like login and registration while the rest go throught normal http. I am using mongrel as my server. Do I need a ssl certificate to do so. Also what are the steps to do that locally. Does ssl work for development mode or it's applicable only for production mode? Please suggest me about that. I didn't found appropriate solution to this problem yet.
Install either apache or nginx locally and do port forwarding using ProxyPass.
Or use mongrel2 :-)