[jadmin] FreeBSD SSL

Chris Pile cpile at snoogans.co.uk
Thu Mar 8 02:48:18 CST 2001

After compiling Jabber-1.4 on FreeBSD4.2, everything seems fine until I try to use SSL.

I compiled jabber-1.4 using:

# ./configure --enable-ssl
# gmake

and created the SSL certificate using the procedure highlighted in:

jabber.xml (relevant sections):
      <ip port="5222"/>
      <ssl port="5223">my ip</ssl>

      <key ip="my ip">./certs/ssl-keypair.pem</key>

It does successfully listen on port 5223.

This works fine on a RedHat 6.1 machine but under FreeBSD gives the following errors when attempting to connect via SSL using WinJab

~/jabberd/jabberd -D -h my-hostname -c ./jabber.xml
Wed Mar  7 09:56:02 2001  mio.c:368 _mio_accept calling accept on fd #6
Wed Mar  7 09:56:02 2001  mio_ssl.c:165 SSL accepting socket with new session 8169400
Wed Mar  7 09:56:02 2001  mio_ssl.c:174 Error from SSL: error:00000000:lib(0):func(0):reason(0)
Wed Mar  7 09:56:02 2001  mio_ssl.c:175 SSL Error in SSL_accept call

I have copied the ssl dll's into the WinJab program directory, and the setup does work fine under RedHat Linux.

Only thing I can think of is something to do with the SSL implementation with FreeBSD.  FreeBSD version was from:


More information about the JAdmin mailing list