0
votes

I have succesfully installed openfire on centos7 with mariadb as database, and created a user to test chat username=mickey, password=mickey. Centos machine on which openfire is installed with ip (192.168.1.141).

Now i have installed spark messenger on my windows laptop to test chat, but somehow i am unable to login.

As on windows i am successfully accessing admin console(192.168.1.141:9090). But spark login is not working. Spark is giving error "unable to verify certificate"

enter image description here

enter image description here

2
How can we know? We need more information.Raptor
please ask me more details as i am a newbie @Raptorharsh sharma
There are lots of threads talking about this issue, e.g. thisRaptor
error message is "unable to verify certificate"harsh sharma

2 Answers

0
votes

As i was accessing openfire server that is installed in centos7 pc, on my windows pc(in which i have installed spark web app), spark was not connecting to centos server. I have to open these ports for public on centos, this helped me

firewall-cmd --zone=public --add-port=9090/tcp --permanent 
firewall-cmd --zone=public --add-port=9094/tcp --permanent 
firewall-cmd --zone=public --add-port=5222/tcp --permanent 
firewall-cmd --zone=public --add-port=7777/tcp --permanent 
0
votes

Under the 'advanced' link on the Spark login screen, there's an option that allows you to ignore the certificate warnings - that is the short answer.

The issue that you would ignore is a security-related (which you arguably should not ignore). When you installed Openfire, you were asked to provide an XMPP domain name (as well as the fully qualified domain name for the server on which Openfire is installed). These can, but should not be an IP address. Based on these values, Openfire will generate self-signed certificates, which are presented to Spark.

You should review your setup, and make sure that you properly defined your XMPP domain name (eg: example.com) and the FQDN for your server (eg: myserver.example.com). When both values differ, you should set up DNS records - the Openfire admin console will warn you of this, and will provide configuration for your specific setup.