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 GitHub by typepub
, 1 year ago
unable to find valid certification path to requested target
via Google Groups by Neeraj Bakhtani, 4 months ago
unable to find valid certification path to requested target
via Stack Overflow by Neeraj Bakhtani
, 4 months ago
unable to find valid certification path to requested target
via Google Groups by neeraj bakhtani, 3 months ago
unable to find valid certification path to requested target
via Google Groups by Vividh S V, 2 years ago
unable to find valid certification path to requested target
via Stack Overflow by Zach
, 2 months ago
unable to find valid certification path to requested target
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at de.dfncert.timestampverifier.TimeStampVerifier.buildPath(TimeStampVerifier.java:200)
at de.dfncert.timestampverifier.TimeStampVerifier.main(TimeStampVerifier.java:155)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 3 weeks ago
Once, 1 month ago
38 more bugmates

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