Jarsigner: “This jar contains entries whose certificate chain is not validated.”

不打扰是莪最后的温柔 提交于 2019-12-05 06:12:15

Just one line answers you question I guess. And if you look closer you'll see it. Here it is


[certificate is valid from 17/08/11 17:32 to 24/07/11 17:32]

As I may hope, you know that today is not July 24 so you just have to re-sign your app

Thanks Andrew Thompson. I have unsigned my jar file, and found the bug. It's better unsigned you're right about this, because signing makes no point since I don't need to get out of the sandbox.

For the record, the bug was the use of the jnlp.jar library. In order to make it work, I launched the applet using jnlp/applet code instead of a standard tag.

I have exactly the same problem.

There is a change in the validation in the new Java 7 and Java 6 versions. Bug id is : 6861062 java classes_security Disable MD2 in certificate chain validation.

When signing the Jara file , I had some warning message and when executing the command: jarsigner MyTools.jar -verify -verbose -certs

I had the message: X.509, OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US [certificate is valid from 29.01.96 01:00 to 02.08.28 01:59] [CertPath not validated: Algorithm constraints check failed: MD2withRSA]

My solution is : - use another version of the JDK to sign and JRE Plugin. - Update your certificate security in order not to use this algorithm.

I hope it will help you.

Regards

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!