I'm trying to add SSL to a legacy rails project (rails 2.3.15, ruby 1.8.7). I'm a little out of my comfort zone in all honesty as a very junior java developer(!), learning as I go about ruby and rails and hosting and security (i.e. every aspect of this job.)
I've sorted the configuration for AWS and Apache, and now have to handle all the requests the app makes to presently non-secure content via http.
The gem https://github.com/josh/rack-ssl looks like it might be exactly what I want, but looking at that page I had no idea where to actually type the "use" and "require" command- it seems as if it's to do with Rack middleware which we aren't using in this project. I don't know if there would be issues installing Rack given the ageing dependencies of our project?
I came across that via https://www.pluralsight.com/guides/ruby-ruby-on-rails/using-https-with-ruby-on-rails but I can't follow the instructions there due to the age of this codebase (as in "we don't have a gemfile, or a file called config/application.rb" old)- I can install gems manually, but don't know where to begin with any other options.
Short of manually changing every loaded resource in the project, any advice on how to proceed would be enormously gratefully recieved!