New install of openfire / spark, Spark wont connect

You will be able to login if you also check Disable certificate hostname verification. But that is very bad and you can just disable SSL all together. Using IP address is not recommended. When you first tried to login what have you provided as your domain in Spark? This name should be in your DNS for Spark to know how to find the server. It should also be the same as XMPP Domain value which is shown in Admin Console. You can also work around this by putting IP address into host field on Advanced settings in Spark and still put XMPP Domain name into Domain field in Spark on the login page.

Watch this How To: Video on setting up SSO/AD with Openfire
Or read this http://www.wroot.lt/wp/technology/very-basic-openfire-spark-guide-en/
on how to do things correctly.