sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException

Symptons

When executing java application from the terminal like "OKMUpdater tool" the application raises the exception caused by missing Certificate Autority ( CA ) in the cacerts.

Solution

Follows 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 from here InstallCert.java (the version of 2020-11-03 )

Properties

Properties

Date

2020-11-03

Applies to

General