Need to updrade openssl in Ruby 1.8.7-p374

Hi! I’m fairly new to Ruby and Rails but have mostly been working on newer versions.

I have a project that I need to get keep running while we upgrade to current. It’s a large 2009 RoR application. Ruby 1.8.7, Rails 2.3.10, Apache 2.2.8, Passenget 2.2.15, HAML, SASS, Mysql 5.1 (over 75 tables), SSL v3., thinking-sphinx .0.9, opened ,0,9,8 etc. More than 125 routes. Lots of old stuff.

We will update this to acurrent Ruby and Rails, but I need to get the old version running as a stop gap.

I’ve installed openssl 1.0.2t (latest on openssl source) and apache 2.2.34 to get TLS 1.2. But Ruby seems to be stuck at the old 0.9.8. I recomipled it with ./configure --with-openssl-dir=/opt/openssl-1.0.2t/include/openssl --prefix=/usr and everything seems OK, but when I check it still the old version.

dev ~ » /usr/bin/openssl version
OpenSSL 1.0.2t 10 Sep 2019

dev ~ » ruby -ropenssl -e’puts OpenSSL::OPENSSL_VERSION’
OpenSSL 0.9.8g 19 Oct 2007

I can’t seem to get Ruby to get the new openssl version.

I have APache 2.2.34 running and I can get an A when I check my ssl certs, so that’s good. But when I try to run I get conflicts between the Ruby openssl version and the Apache version.

Any ideas? I appreciate any help. I’m stuck.

Thanks in advance.

1 Like

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs