my openfire version: openfire_4_2_0_bundledJRE_x64.exe 64-bit, Includes 64-bit Java 。
my spark version:spark_2_9_0-20171204
java version "1.8.0_111"
data base :mysql5.7.3-m13
When I use spark to log on,Hint a mistake ”java.net.SSLHandshakeException:java.security.cert.CertificateException:self signed certificate“。
You need to go to Advanced menu in Spark, then Certificates menu and check “Accept self-signed”. Then try to login again. It will show you info about your certificate and you will be able to accept it. It will throw an error if you do it slowly and it will throw an error when you accept the certificate, although you should be able to login by pressing Login button again. That’s what you get for using not official versions