Java Error: Failed to validate certificate. The application will not be executed
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:
# 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.
UPDATE :
Cari File instalasi java, lalu buka folder Lib/Security, dan Buka file java.security, lalu tambahkan script dibawan ini :
permission java.net.SocketPermission “192.168.1.208:2000”, “connect, resolve”; # <– Ganti IP Address
permission java.security.AllPermission;
permission java.util.PropertyPermission “*”, “read, write”;
Posted on: January 11, 2023, by : Julian's | 616 views