ejabberd - Comments for "RHEL and SSL"
https://www.ejabberd.im/node/172
enFor those who want to use RHEL
https://www.ejabberd.im/node/172#comment-619
<p>Here is the line I used to get configure to run properly on my RHEL3 system:</p>
<p>./configure CFLAGS='-I/usr/local/ssl/include' CCFLAGS='-I-I/usr/local/ssl/include' CPPFLAGS='-I/usr/kerberos/include -I/usr/local/ssl/include' LDFLAGS='-L/usr/kerberos/lib -L/usr/local/ssl/lib' --with-openssl=/usr/local/ssl/</p>
<p>Enjoy!</p>
Mon, 11 Jul 2005 19:12:37 +0000bbrazellcomment 619 at https://www.ejabberd.imI was finally able to get eja
https://www.ejabberd.im/node/172#comment-355
<p>I was finally able to get ejabber to compile, but only after adding the following line to ssl.h:</p>
<pre>#define OPENSSL_NO_KRB5</pre>
<p>On my first attempt to register an account on the server, it failed. I tried both with and without SSL enabled on the client and it failed either way. In fact, the ejabberd daemons would die and the last thing listed in the ejabberd.log was:</p>
<pre>=ERROR REPORT==== 2005-04-18 15:57:35 ===
** State machine <0.278.0> terminating
** Last event in was {xmlstreamelement,
{xmlelement,"starttls",
[{"xmlns",
"urn:ietf:params:xml:ns:xmpp-tls"}],
[]}}</pre>
<p>Looks like there is an issue with TLS.</p>
<p>I modified the ejabberd.cfg listen section to contain:</p>
<pre>{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]},
{5223, ejabberd_c2s, [{access, c2s}, ssl,
{certfile, "/usr/local/ejabberd/server.pem"}]}</pre>
<p>I'm now able to register and use the Jabber service, but am still puzzled as to why the system isn't behaving as well as my Fedora systems. I didn't have these troubles with them.</p>Mon, 18 Apr 2005 20:28:12 +0000bbrazellcomment 355 at https://www.ejabberd.im