I don't think that the DummySSLSocketFactory ever worked with Smack to accept all certificates (could be wrong though). You could use TLSUtils.acceptAllCertificates(Builder), but for self signed certificates, that don't change often, I recommend using https://github.com/flowdalic/java-pinning
↧