AnsweredAssumed Answered

Android 7 Smack 4.1.8 "Failed to load certificate from Keystore"

Question asked by Mike on Jan 31, 2017
Latest reply on Feb 1, 2017 by Flow

Hi,

 

our App works fine with Smack on Android 4+, for a long time now.

Recent tests for our App with Android 7.1 resulted in "the app no longer works".

We receive this error on A7 devices when trying to connect with Smack to our XMPP Server:

 

javax.net.ssl.SSLHandshakeException: java.lang.RuntimeException: Failed to load certificates from KeyStore

org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets()#1029

org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300()#956

org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run()#971

java.lang.Thread.run()#762

 

Do you have any hints for me, how to solve this?

 

Thanks in advance, Mike

Outcomes