[jadmin] FreeBSD SSL

Chris Pile cpile at snoogans.co.uk
Wed Mar 7 07:16:24 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:
http://mailman.jabber.org/pipermail/jadmin/2001-February/000151.html

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

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

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
0.9.5.7:

~/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:
ftp://ftp.uk.freebsd.org/pub/FreeBSD/releases/i386/.


Thanks,
Chris.




More information about the JAdmin mailing list