GithubHelp home page GithubHelp logo

Comments (4)

wanghe-sudo avatar wanghe-sudo commented on May 29, 2024 1

jdk8 151之前需要替换jar包,151版本以后,只需要手动开启配置,找到jre路径,找到java.security文件,去除crypto.policy=unlimited注释(约826行)

from payment-spring-boot.

NotFound403 avatar NotFound403 commented on May 29, 2024

对于密码,很多国家是限制出口的,因此你可能使用了受限制的JDK,尤其是Oracle的JDK。解决方案:

前往甲骨文官网下载JCE无限制权限策略文件,例如JDK8:

https://www.oracle.com/java/technologies/javase-jce8-downloads.html

下载下来后对文件进行解压发现其中有两个jar包,将其复制并覆盖你自己的%JAVA_HOME%/jre/lib/security下的local_policy.jar 和 US_export_policy.jar

注意:覆盖之前最好将原来的local_policy.jar 和 US_export_policy.jar 备份

from payment-spring-boot.

NotFound403 avatar NotFound403 commented on May 29, 2024

或者更换为Open JDK 也可以突破限制

from payment-spring-boot.

lonffreytu avatar lonffreytu commented on May 29, 2024

jdk8 151之前需要替换jar包,151版本以后,只需要手动开启配置,找到jre路径,找到java.security文件,去除crypto.policy=unlimited注释(约826行)

该文件在 jre\lib\security,亲测通过

from payment-spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.