sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
Symptoms
When executing a Java application from the terminal, such as "OKMUpdater tool", the application raises an exception caused by a missing Certificate Authority (CA) in the cacerts.
Solution
Follow the steps described in https://github.com/escline/InstallCert
$> wget https://github.com/escline/InstallCert/raw/master/InstallCert.java
$> javac InstallCert.java
$> java InstallCert download.openkm.com
You can also download it from here InstallCert.java (version 2020-11-03)
Properties
Properties | |
---|---|
Date |
2020-11-03 |
Applies to |
General |