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

  1. ,
    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

  2. ,
    via Stack Overflow by carlos

    Set the mail.smtp.ssl.trust system property to an smtp host, like smtp.gmail.com.

Solutions on the web

via wordpress.com by Unknown author, 2 years ago
unable to find valid certification path to requested target
via mkyong.com by Unknown author, 1 year ago
unable to find valid certification path to requested target
via mkyong.com by Unknown author, 1 year ago
unable to find valid certification path to requested target
via Oracle Community by 807605, 5 months ago
unable to find valid certification path to requested target
via hivmr.com by Unknown author, 1 year ago
unable to find valid certification path to requested target
via Oracle Community by 843790, 1 year ago
unable to find valid certification path to requested target
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to reques
ted target	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)	at java.security.cert.CertPathBuilder.build(Unknown Source)	at sun.security.validator.PKIXValidator.doBuild(Unknown Source)	at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)	at sun.security.validator.Validator.validate(Unknown Source)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown Source)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)	at undefined.InstallCert$SavingTrustManager.checkServerTrusted(InstallCert.java:182)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)	at undefined.InstallCert.main(InstallCert.java:87)