brocade 300 workaround sun.security.validator certificate problem

por | 13 marzo, 2019

"C:\Program Files (x86)\Java\jre7\bin\javaws" http://192.168.X.X/switchExplorer_installed.html


sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: algorithm constraints check failed



 C:\Program Files (x86)\Java\jre7\bin>javaws "http://192.168.X.X/switchExplorer_installed.html"

The java.security file is located in your client machine's Java/JRE installed directory (jre/lib/security/java.security).

In Java 1.7.0_40 the java.security by default has this setting:

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

Changing the 1024 to 256 may solve the issue.

C:\Program Files (x86)\Java\jre7\lib\security

edit java.security

change 

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

to 
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 256




 C:\Program Files (x86)\Java\jre7\bin>javaws "http://192.168.X.X/switchExplorer_installed.html"