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

Stack Overflow | Tejpal Borkar | 9 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

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

    Stack Overflow | 9 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