Self signed certificate

I have a self-signed SSL server certificate for my server domain that I have imported into openfire keystore.
Logs says Openfire is running at 9091, 9090. I can use 9090 to access admin console but not on 9091.
secondly, how I can configure smack to connect to openfire via TLS. Do I use the same keystore that uploaded into openfire ?

Smack question should be asked on Smack Support forum. What error do you get when you open https://yourserver:9091? And what browser do you use?

Well I figured it out, I did not configured the certificates right and that’s why 9091 did not worked.
As for smack, I was able to do that as well with little tweak, will be sharing on smack forum.