org.jivesoftware.smack.SmackException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Stack Overflow | Tejpal Borkar | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unable to connect apache vysper XMPP server from Android using Smack 4.1

    Stack Overflow | 7 months ago | Tejpal Borkar
    org.jivesoftware.smack.SmackException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

    Root Cause Analysis

    1. org.jivesoftware.smack.SmackException

      javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

      at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream()
    2. RoboVM
      OpenSSLSocketImpl.getInputStream
      1. com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:591)
      1 frame
    3. org.jivesoftware.smack
      XMPPTCPConnection.initReaderAndWriter
      1. org.jivesoftware.smack.tcp.XMPPTCPConnection.initReaderAndWriter(XMPPTCPConnection.java:651)
      1 frame