SSLSocketImpl.startHandshake() has thrown a SSLHandshakeException

We found this prefix in 2 webpages.
MapChildren (2)Typical messages (1)TraceDetailed Map
  1. sun.security.provider.certpath.SunCertPathBuilderException
    1.   at sun.security.provider.certpath.SunCertPathBuilder.build()
    2.   at sun.security.provider.certpath.SunCertPathBuilder.engineBuild()
    3.   at java.security.cert.CertPathBuilder.build()
    4.   at sun.security.validator.PKIXValidator.doBuild()
  2. Caused: sun.security.validator.ValidatorException
    1.   at sun.security.validator.PKIXValidator.doBuild()
    2.   at sun.security.validator.PKIXValidator.engineValidate()
    3.   at sun.security.validator.Validator.validate()
    4.   at sun.security.ssl.X509TrustManagerImpl.validate()
    5.   at sun.security.ssl.X509TrustManagerImpl.checkTrusted()
    6.   at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted()
    7.   at sun.security.ssl.ClientHandshaker.serverCertificate()
  3. Caused: javax.net.ssl.SSLHandshakeException
    1.   at sun.security.ssl.Alerts.getSSLException()
    2.   at sun.security.ssl.SSLSocketImpl.fatal()
    3.   at sun.security.ssl.Handshaker.fatalSE()
    4.   at sun.security.ssl.Handshaker.fatalSE()
    5.   at sun.security.ssl.ClientHandshaker.serverCertificate()
    6.   at sun.security.ssl.ClientHandshaker.processMessage()
    7.   at sun.security.ssl.Handshaker.processLoop()
    8.   at sun.security.ssl.Handshaker.process_record()
    9.   at sun.security.ssl.SSLSocketImpl.readRecord()
    10.   at sun.security.ssl.SSLSocketImpl.performInitialHandshake()
    11.   at sun.security.ssl.SSLSocketImpl.startHandshake()
    12.   at sun.security.ssl.SSLSocketImpl.startHandshake()
loading...
  1. When I try to send mail using apache commons there is a ssl certification issue. How can I solve the issue?

    First:2 years ago
    Last:2 years ago
    Author:MAK
  2. GitHub iconGitHub comment 16#277686802

    First:1 year ago
    Last:1 year ago
    Author:culebras
MessageNumber of crashes
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target2
  1. sun.security.provider.certpath.SunCertPathBuilderException
    1.   at sun.security.provider.certpath.SunCertPathBuilder.build()
    2.   at sun.security.provider.certpath.SunCertPathBuilder.engineBuild()
    3.   at java.security.cert.CertPathBuilder.build()
    4.   at sun.security.validator.PKIXValidator.doBuild()
  2. Caused: sun.security.validator.ValidatorException
    1.   at sun.security.validator.PKIXValidator.doBuild()
    2.   at sun.security.validator.PKIXValidator.engineValidate()
    3.   at sun.security.validator.Validator.validate()
    4.   at sun.security.ssl.X509TrustManagerImpl.validate()
    5.   at sun.security.ssl.X509TrustManagerImpl.checkTrusted()
    6.   at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted()
    7.   at sun.security.ssl.ClientHandshaker.serverCertificate()
  3. Caused: javax.net.ssl.SSLHandshakeException
    1.   at sun.security.ssl.Alerts.getSSLException()
    2.   at sun.security.ssl.SSLSocketImpl.fatal()
    3.   at sun.security.ssl.Handshaker.fatalSE()
    4.   at sun.security.ssl.Handshaker.fatalSE()
    5.   at sun.security.ssl.ClientHandshaker.serverCertificate()
    6.   at sun.security.ssl.ClientHandshaker.processMessage()
    7.   at sun.security.ssl.Handshaker.processLoop()
    8.   at sun.security.ssl.Handshaker.process_record()
    9.   at sun.security.ssl.SSLSocketImpl.readRecord()
    10.   at sun.security.ssl.SSLSocketImpl.performInitialHandshake()
    11.   at sun.security.ssl.SSLSocketImpl.startHandshake()
    12.   at sun.security.ssl.SSLSocketImpl.startHandshake()
loading...