I am developing an application to decrypt data files using OpenSSL, but this does not work when deploying a server at our stage. Is there any configuration step that should include OpenSSL that I skipped on the server? I did not do anything special to make it work locally (development on windows).
The line that causes the error is:
rescue_from OpenSSL::Cipher::CipherError, :with => :cipher_error
in one of my controllers.
Ruby 1.8.7, Rails 3.0.4 To add support for OpenSSL, stones were not used, they just worked locally.
Actual file decryption works fine (the code is in the module in /lib ), it's just this line in the controller that fails.
ruby-on-rails ruby-on-rails-3 openssl
Matt
source share