Git Product home page Git Product logo

Comments (6)

chairmanview avatar chairmanview commented on June 26, 2024

JCE无限制权限策略文件替换了吗?参下:
http://qydev.weixin.qq.com/wiki/index.php?title=%E5%8A%A0%E8%A7%A3%E5%AF%86%E5%BA%93%E4%B8%8B%E8%BD%BD%E4%B8%8E%E8%BF%94%E5%9B%9E%E7%A0%81

from wxjava.

izyh avatar izyh commented on June 26, 2024

请问这个问题解决了吗?我替换了JCE无限制权限策略文件后还是不行。

from wxjava.

chanjarster avatar chanjarster commented on June 26, 2024

@izyh 这个问题可能是微信的https证书不在JDK自带的证书库里,试试看用这个项目解决:

https://github.com/escline/InstallCert

from wxjava.

goodluck028 avatar goodluck028 commented on June 26, 2024

我试了网上的几种方法都不行,干脆重装了jdk,然后就好了。

from wxjava.

nadirvishun avatar nadirvishun commented on June 26, 2024

同遇到此问题,重装jdk仍然不管用。个人感觉主要原因就是企业微信所用证书更换了,而java并不认识此证书。
试过的方法:

  • 直接谷歌浏览器访问https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=ID&corpsecret=SECRET,然后浏览器中下载证书(导出dre和base64格式都不行),导入后仍不管用。
  • @chanjarster 提供的库下载的证书导入后可正常使用,唯一需要注意的是此库检测的jre路径可能是单独安装的jre路径D:\Java\jre1.8.0_202\lib\security,但我这边在idea中用的是jdk下的jre路径D:\Java\jdk1.8.0_202\jre\lib\security,所以如果不行,两个位置都装一下试试。

还有就是推荐查看证书的工具:KeyStore Explorer,省的用命令行看了,还可以按照安装时间排序什么的。


我个人情况来说,上面的方法虽然可行,但是经常是一开始报错,多次测试后才会持续一段时间不报错,重打开电脑又会报错,但在其它电脑上没有问题,这台电脑原先动过证书方面的,怀疑电脑证书有问题,感觉如果上述方法也不行,重装系统才是最终解决方法。


目前升级了Win10,大版本升级,从1909升级到了20H2,正常了。。。。

from wxjava.

xusir13 avatar xusir13 commented on June 26, 2024

我也出找个问题了。怎么解决

from wxjava.

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.