javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Stack Overflow | L-Samuels | 3 months ago
  1. 0

    JavaMail Gmail issue. "Ready to start TLS" then fails

    Stack Overflow | 3 months ago | L-Samuels
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  2. 0

    Java mail without ssl - PKIX path building failed:

    Stack Overflow | 4 years ago | janenz00
    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

    No trusted certificate found while sending a mail, but the certificate seems to be in the keystore

    Stack Overflow | 5 years ago | AgostinoX
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Developing Notification Events

    oracle.com | 4 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
  6. 0

    Developing Notification Events

    oracle.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

    1 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

      Remote host closed connection during handshake

      at com.sun.mail.smtp.SMTPTransport.startTLS()
    2. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2046)
      2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:711)
      2 frames
    3. JavaMail API
      Service.connect
      1. javax.mail.Service.connect(Service.java:366)
      1 frame
    4. com.lawrenceadams
      Mail.main
      1. com.lawrenceadams.Mail.generateAndSendEmail(Mail.java:50)
      2. com.lawrenceadams.Mail.main(Mail.java:16)
      2 frames
    5. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2 frames