Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
429 views
in Technique[技术] by (71.8m points)

java - how to avoid ValidatorException: PKIX path building failed exception inside Intelij?

In terminal, app run fine, but via IntelliJ IDEA I get this exception

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to

how to config Intelij by valid certificate?

question from:https://stackoverflow.com/questions/65903913/how-to-avoid-validatorexception-pkix-path-building-failed-exception-inside-inte

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Finally I found my fault. I had configured cacert file in Java/JRE/ root, that should be configured into java/JDK/jre root.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...