java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer

后端 未结 4 2029
情深已故
情深已故 2020-12-15 03:34

In working on a different problem (related to RMI), I upgraded the system\'s \"security folder\" with the \"unlimited strength\" policy files and now my applicaiton fails in

相关标签:
4条回答
  • 2020-12-15 03:43

    Rather than mixing runtime and policy file versions, you should use the policy files for Java 7.

    0 讨论(0)
  • 2020-12-15 03:43

    This happens when Java version does not match with the version of policy files. You can download the relevant policy files from following links.

    Policy jars for Java 8
    Policy jars for Java 7
    Policy jars for Java 6

    0 讨论(0)
  • 2020-12-15 03:51

    This could happen if there are standard policy jar files somewhere in the classpath. I suggest to find and replace all the local_policy.jar and us_export_policy.jar files with the unrestricted versions of these jars in your machine. If you are using IBM's WAS/Portal Server/RAD, here is the link to the unrestricted JCE policy jars.

    0 讨论(0)
  • 2020-12-15 03:53

    Its possible that you have different versions of the JDK. For example if your JAVA_HOME points to version 7, but in your path version 6 shows up before version 7, this error could pop up.

    0 讨论(0)
提交回复
热议问题