Tag Archives: macOS

Solution to Java program unable to find valid certification path to requested target

On macOS sierra, some Java program encountered error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Popular google answer suggested to use¬†keytool to add certificate to¬†$JAVA_HOME/jre/lib/security/cacerts.This solution probably works on other OS … Continue reading

Posted in Java, Uncategorized | Tagged | Leave a comment