firstruby

Master ruby with us

Posts Tagged ‘jar’

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’.

Posted in Useful Links | Tagged: , , , , | 1 Comment »