I’ve just setup a new Openfire 3.8 server and most everything is working flawlessly from the go. But one problem we are having is that some clients (mostly Linux clients) will not connect to the server.
Spark works perfectly
Jitsi works
However
Pidgin and Gajim don’t work and throw up a generic SSL Cert error. (I have even tried Pidgin on Windows, same problem)
My only thought is that the name of the server is openfire.local.dom while I created a CNAME record for im.local.dom that everyone uses: i.e. by jabber JID is brandtb@im.local.dom
I recreated the self-signed certs again and again, but this has not fixed the problem?
I’m guessing it doesn’t trust the self-signed cert? You will have to tell Pidgin to accept the cert each time you connect. There may also be a way to disable certificate checks in Pidgin.
Spark typically does not report certificate issues.
Pidgin does ask if I was to trust the Certificate and gives me the option to never ask again (from what I remember) but it then later fails and the little debug information I can get says it is an SSL error.
Which made me think it was a SSL error. But I have blown the server installation of Openfire using both self-signed and Certificate Authority signed certificates and nothing works. I have also blown away and reinstalled the client side programs without any improvement.
The strange thing is that Pidgin was working well (even better then Spark) when we first built a test server. But ever since the first rebuild on multiple servers, nothing can get it to work.
Turns out that the problem was with the java that was running the system. On my initial system (which was not a server) the variable JAVA_HOME was not exported, so Openfire would define it itself.
But on the latr systems, JAVA_HOME was pointing at an IBM Java so rather then use the JRE that comes with the installation, it used that instead!
Once I define JAVA_HOME in the /etc/sysconfig/openfire file, everything started working immediately.
I don’t understand why Openfire doesn’t use it’s own JRE especially when it COMES with the it, but whatever.
Thanks for the attention, hopefully this will help someone else out.