I am trying to switch to Spark without success. I have Spark 2.8.2 and Openfire 4.0.4. Without "Accept All Certificates" checked I get the error "Unable to verify certificate". When "Accept All Certificates" is checked but "Disable Certificate Hostname" is unchecked I get "Certificate Hostname verification failed". With both "Unable to verify certificate" and "Accept All Certificates" is checked I get "Invalid username or password".
I have followed the troubleshooting tips here and added sasl.mechs = PLAIN . The xmpp.domain, Server Name, and SSL Certificate (Signed by StartSSL) are the same (server.domain.org), as is the host in Spark. The Openfire Identity Certificate Store shows the certificate is correct and CA Signed. I have both DNS and SRV records set up.The setup works just fine in Pidgin. I have tried 2 different servers on 2 different domains, and the same thing happens for both. One has a internal user database and the other uses AD.