Encryption algorithm or key length is restricted under the java policy.

Issue –> Got the below error while encrypting the file through third party certificates in Oracle MFT 12.2.1.0.0

Error –> 

MFTException [threadName=JCA-work-instance:JMSAdapter-10, errorID=b770eea5-4127-41b0-329b-654b76bd984c, errorDesc=MFT-4223_Encryption algorithm or key length is restricted under the java policy., cause=Illegal key size or default parameters]
Error Text Encryption algorithm or key length is restricted under the java policy.

Solution –> 

To implement the solution, please execute the below steps:

1. Download the “Unlimited” jars, “local_policy.jar” and “us_export_policy.jar” from here:
http://developers.sun.com/downloads/

NOTE :- Make sure to download the versions matching the JDK installed in the ORACLE_HOME.

2. Make a backup of the “limited versions” in $ORACLE_HOME/javavm/lib/security/

3. Replace the limited jars with the unlimited jars.

4. Clean out the tmp, cache and stage folders for the MFT servers and restart.

Advertisements

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