Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Unable to load/store local Clippy advice: sun.security.validator.ValidatorException #59

Open
hongxuchen opened this issue May 27, 2017 · 1 comment

Comments

@hongxuchen
Copy link

hongxuchen commented May 27, 2017

When using Clippy on my Mac I encountered an exception like below:

[info] Unable to load/store local Clippy advice due to: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The JVM information is:

$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

I believe the root cause is not Clippy's since it works fine on another computer of mine (which is running on Linux with Java 8 and the same Clippy global settings). Unfortunately I really don't know how to add the certification correctly after googling. Can you provide some hints?

I also noticed another issue regarding Clippy advice #49 but that seems different.

@jan0sch
Copy link

jan0sch commented Jul 21, 2017

I also have this problem using the following jdk version on FreeBSD 11:

java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

I circumvented it by using the InstallCert.java "trick" e.g. downloading and adding the certificate to the cacerts of the openjdk.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants