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

Coderanch | alsoumahi alBatal | 5 years ago
  1. 0

    Got Error in sending mail from java to internal exchange server

    Coderanch | 5 years ago | alsoumahi alBatal
    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

    API JavaMail exception

    Oracle Community | 8 years ago | 843834
    javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: 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

    QC11 发送邮件配置错误 - [51Testing软件测试沙龙] - 51Testing软件测试论坛 - Powered by Discuz!

    51testing.com | 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    weblogic ssl handshake failure trust store issue

    Stack Overflow | 3 years ago | challenge
    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
  6. 0

    Proplem running the rmi-client of the JSSE example

    Oracle Community | 1 decade ago | 843811
    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 java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: 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

    6 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 com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      AppOutputStream.write
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1649)
      3. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)
      4. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)
      5. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1206)
      6. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136)
      7. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
      8. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
      11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:632)
      12. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      12 frames
    3. JavaMail API (compat)
      TraceOutputStream.write
      1. com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:110)
      1 frame
    4. Java RT
      BufferedOutputStream.flush
      1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      2 frames
    5. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1715)
      2. com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1704)
      3. com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:1088)
      4. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:468)
      4 frames
    6. JavaMail API
      Service.connect
      1. javax.mail.Service.connect(Service.java:291)
      2. javax.mail.Service.connect(Service.java:172)
      2 frames
    7. Unknown
      fMail.main
      1. fMail.main(fMail.java:76)
      1 frame