Quick and Dirty SSL for a Rails app

9 views
Skip to first unread message

Philip Rhoades

unread,
Oct 27, 2011, 8:56:50 PM10/27/11
to rubyonra...@googlegroups.com
People,

To improve security for things like SquirrelMail and RoundCubeMail, I
can just place the mail app directory into the Apache SSL dir, add some
stuff to /etc/httpd/conf.d/ssl.conf and it just works when I point the
browser using "https: . . .". Is there a quick method like that for
Rails apps? ie not having to make any changes to the Rails app itself?
I can't get it to work (I am using Apache and Passenger on Fedora 14
x86_64).

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: ph...@pricom.com.au

Tim Shaffer

unread,
Oct 28, 2011, 7:58:52 AM10/28/11
to rubyonra...@googlegroups.com, ph...@pricom.com.au
Well provided you don't have any code in your application that won't work with https, you should be good to go.

Just make sure the domain you are using to access your Rails application is SSL protected (via Apache, load balancer, or other means) and then simply access it using https.

Brandon Black

unread,
Oct 28, 2011, 7:21:09 PM10/28/11
to Ruby on Rails: Talk
Reply all
Reply to author
Forward
0 new messages