I’ve been playing around with the Smack (4.0.0) library but am getting problems connecting my client to an OpenFire server securely. I’ve tried http://stackoverflow.com/questions/10850300/using-the-android-truststore-for-asm ack-in-android-4-ics but it appears that the calls to setTrustStore…() are have been removed from the V4 library. I believe this is related to a bug in the TrustManager accepting all certificates.
I’m struggling a bit to find examples / explanations about how to use smack to securely connect to an Openfire server. Could anyone point me towards some resources?
I’m developing for android using aSmack, but understand that the APIs are the same.