[JDEV] problems with SSL support
Kartik Subbarao
subbarao at computer.org
Sun Jan 21 17:37:02 CST 2001
I'm having some problems trying to get SSL (on port 5223) working with
the jabber CVS bits. I have the following in the relevant section (c2s)
of jabber.xml:
<ip port="5222"/>
<ip port="5223"/>
And the following in the <ssl> section:
<key ip='ip.addr.of.host'>/path/to/my.pem</key>
I noticed a typo in mio.c, line 764. HAVESSL should be HAVE_SSL. But
even after fixing that, I still run into problems. Here's the excerpt
from jabberd -D:
Sun Jan 21 18:19:10 2001 mio_ssl.c:51 MIO SSL init
Sun Jan 21 18:19:10 2001 mio_ssl.c:78 Setting temporary RSA callback
Sun Jan 21 18:19:10 2001 mio_ssl.c:78 Setting temporary RSA callback
Sun Jan 21 18:19:10 2001 mio_ssl.c:100 SSL Error using Private Key file
with RSA
[...]
The appropriate line in mio_ssl.c is:
if(!SSL_CTX_use_RSAPrivateKey_file(ctx, keypath, SSL_FILETYPE_PEM))
Any ideas? This is on Red Hat 7.0 with openssl-0.9.5a-14 and
openssl-devel-0.9.5a-14.
Thanks,
-Kartik
More information about the JDev
mailing list