Using the Android TrustStore for aSmack in Android 4+ (ICS)
问题 I am not an expert on keystores and have a hard time understanding the nuances of this but this is how far I got: In creating a xmpp-connection using the asmack build found here one still has to change the truststore, which usually, so say multiple sources on the web, is done using these commands ConnectionConfiguration config = new ConnectionConfiguration(host, Integer.parseInt(port), service); config.setTruststorePath("/system/etc/security/cacerts.bks"); config.setTruststorePassword(