000025040 - java.security.InvalidKeyException: Wrong key algorithm

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025040
Applies ToRSA BSAFE Crypto-J 3.6
JCE provider
Issuejava.security.InvalidKeyException: Wrong key algorithm
CauseThis exception can be caused by using the default limited strength security policies.
ResolutionIn the jre/lib/security folder, replace your local_policy.jar and US_export_policy.jar files with the unlimited strength version of them.  The unlimited strength version of these files are available for download under "Other Downloads" at  http://java.sun.com/javase/downloads/index_jdk5.jsp, or in a similar place for other versions of the JDK.
Legacy Article IDa33660