Java Error: Failed to validate certificate. The application will not be executed
Posted OS Knowledge Base
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java Error: Failed to validate certificate. The application will not be executed相关的知识,希望对你有一定的参考价值。
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”
A detailed look into the certificate shows that a signature algorithm MD2withRSA was used to create it.
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的主要内容,如果未能解决你的问题,请参考以下文章
Android Studio 3.0预览版本 Error:Gradle: failed to create directory 解决方案
Git上传提示error: failed to push some refs to
git push origin master出错:error: failed to push some refs to
Java Error: Failed to validate certificate. The application will not be executed
git常见错误:error: failed to push some refs to 'xxx'
error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/