European Open Root Server Network

Fix JRE to run old Java Remote Consoles

Symptoms

Java refuses to execute the console:

sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: algorithm constraints check failed
at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source)
at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
[..]

Problem

Java 7 has disabled old and insecure crypto algorithms.

Solution

Locate the java.security file for your jre and comment/adjust the following line:

jdk.certpath.disabledAlgorithms=MD2

Be aware that you weaken your java security by doing this.