skip to main content

SAP NetWeaver Newbie

How To Check For Unlimited Strength or Unrestricted Jurisdiction Policy Files

When you install or update JDK, the default jurisdiction policy files are installed. These files allow limited cryptography. Your applications may require you to install unrestricted versions of these files (local_policy.jar and US_export_policy.jar).

To check if you are using unrestricted version or not, copy these files from <JDK_HOME>/jre/lib/security to a temporary location and use these commands

jar -xvf <path to jar files>/local_policy.jar
jar -xvf <path to jar files>/US_export_policy.jar

Read default_local.policy and default_US_export.policy to find out the jurisdiction policy that is being used. If you see the following entry in the files, you are using unrestricted version.

grant {  permission javax.crypto.CryptoAllPermission; };

No comments:

Post a Comment

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2008 - 2017 sapnwnewbie. All rights reserved.