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

hkrishnan.in | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Access GMail with imap using java mail api | HariKrishnan

    hkrishnan.in | 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
  2. 0

    Access GMail with imap using java mail api | HariKrishnan

    hkrishnan.in | 7 months 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
  3. 0

    SSLHandshakeException: Remote host closed connection during handshake

    Stack Overflow | 2 years ago | Arya
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSLHandshakeException: Remote host closed connection during handshake - codes fans

    mzan.com | 7 months ago
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  6. 0

    Send Email in Java using GMail SMTP with JavaMail - Java Tutorial Blog

    javapapers.com | 6 months 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

  1. aldrinleal 1 times, last 2 months ago
  2. johnxfly 1 times, last 3 months ago
  3. rp 1 times, last 3 months ago
  4. kid 540 times, last 8 months ago
  5. poroszd 1 times, last 1 year ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    2. sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)
    3. sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
    4. sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
    5. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
    6. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
    7. sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
    8. sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
    9. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
    10. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    11. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    12. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
    12 frames
  3. JavaMail API (compat)
    IMAPStore.protocolConnect
    1. com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:548)
    2. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:352)
    3. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
    4. com.sun.mail.iap.Protocol.<init>(Protocol.java:113)
    5. com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:111)
    6. com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:637)
    6 frames