org.jenkinsci.lib.envinject.EnvInjectException: 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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're using wiremock, configure your code to accept wiremock self-signed certificate or create a keystore and certificate that are trusted by your HTTP client and configure wiremock to use that

Solutions on the web

via Jenkins JIRA by Jesper Jensen, 1 year ago
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
via Google Groups by jesper.kl...@intelligrated.com (JIRA), 1 year ago
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
via jenkins-ci.org by Unknown author, 1 year ago
java.io.IOException: Cannot run program "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows\jdk.exe" (in directory "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows"): CreateProcess error=740, The requested operation requires elevation
org.jenkinsci.lib.envinject.EnvInjectException: 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
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)

Users with the same issue

2 times, 3 weeks ago
Once, 1 month ago
25 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Once, 5 months ago
36 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.