Waiting for other (useful) stuff to compile today, I spent some time setting up my own Jabber server. I've had jabberd compiled on a machine for a long time, I just hadn't gotten around to setting it up yet.
This was surprisingly simple, except for the SSL bits. I spent a good half hour wondering why BitlBee refused to connect with a very strange message:
jabber - Couldn't log in: Stream error: host-unknown: service requested for unknown domain
Turns out that the example <id... parameter in c2s.xml was formatted in such a way to make it non-obvious that I also had to change an example.net on the last line:
<id realm='example.net'
pemfile='/usr/local/etc/jabberd/server.pem'
mumble-mumble
>example.net</id>
Silly of me. Even sillier of me to have hacked XMPP STARTTLS support into OpenSSL s_client to try to debug it... As soon as I saw the example.net, a simple grep found the config bug immediately. Difficult works too. :-)
If anyone is interested, the patch is here: openssl_xmpp.diff.
I'll try to con Ben into including that upstream. :-)
Anyway - please replace philip@jabber.belnet.be with philip@paeps.cx on your Jabber roster.
Copyright © 2005–2010 Philip Paeps
All rights reserved.