首页 > 移动平台 > 详细

Java Error: Failed to validate certificate. The application will not be executed

时间:2017-03-07 10:43:27      阅读:460      评论:0      收藏:0      [点我收藏+]

Hi,

last week a customer had the problem that he wants to connect to the administration interface of a Brocade FC Switch but the Java Applet did not start. This error message was shown: “Failed to validate certificate. The application will not be executed”

技术分享

Failed to validate certificate. The application will not be executed

 

A detailed look into the certificate shows that a signature algorithm MD2withRSA was used to create it.

技术分享

Java Certificate error

技术分享

Java certificate details

MD2 is disabled in java by default also a RSA key with less then 1024bits. Because these are no longer considered as secure and therefore java reject such certificates.

You can disable this check, because you have start the applet to access your FC Switch. Locate the file java.security in the lib/security folder of your java installation and comment the following[注释掉下面一行,同时在javacontrol中增加例外]:

# jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024                  

The applet should start now but for security reasons it is recommended to reverse this change if it is no longer needed.

Michael

Java Error: Failed to validate certificate. The application will not be executed

原文:http://www.cnblogs.com/oskb/p/6513414.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!