zoukankan      html  css  js  c++  java
  • 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”

    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 error

    Java certificate details

    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

  • 相关阅读:
    生活网站
    input 输入值的监听 禁止输入特殊字符
    jq 插件分享
    css3 特效分享
    sharepoint---RBS回收站清空设置
    &&和||
    DataTable得到某行某列的值
    后台刷新当前页面和弹出对话框跳转页面
    c#.netGr idView1在div不局中
    DIV UL LI
  • 原文地址:https://www.cnblogs.com/oskb/p/6513414.html
Copyright © 2011-2022 走看看