firstruby

Master ruby with us

OpenSSL::Cipher::CipherError (Illegal key size) in jRuby on Rails application

Posted by firstruby on July 17, 2011

If you got following error,

OpenSSL::Cipher::CipherError (Illegal key size)

it means you need to install ‘Java Jurisdiction policy files’. These files can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html and copy ‘local_policy.jar’, ‘US_export_policy.jar’ and replaced at ‘C:\Program Files\Java\jdk1.6.0\jre\lib\security’.

Advertisements

One Response to “OpenSSL::Cipher::CipherError (Illegal key size) in jRuby on Rails application”

  1. Steven Lee said

    It works, thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: