ejabberd - Comments for "problem with connecting" https://www.ejabberd.im/node/1399 en I had the similar problems. https://www.ejabberd.im/node/1399#comment-3588 <p>I had the similar problems. But if i follow below ssl generation procedure, the problems are resolved with ssl</p> <p>Create a SSL key (read this tutorial for more information):</p> <p>openssl req -new -x509 -newkey rsa:1024 -days 3650 -keyout privkey.pem -out server.pem<br /> openssl rsa -in privkey.pem -out privkey.pem<br /> cat privkey.pem &gt;&gt; server.pem<br /> rm privkey.pem</p> <p>Now edit your ejabberd.cfg file and specify the correct location of your server.pem:</p> <p>{listen, [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},<br /> starttls, {certfile, "/home/ejabberd/server.pem"}]},<br /> {5223, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},<br /> ssl, {certfile, "/home/ejabberd/server.pem"}]},</p> <p>Full tutorial is found at <a href="http://www.ejabberd.im/tuto-install-ejabberd" title="http://www.ejabberd.im/tuto-install-ejabberd">http://www.ejabberd.im/tuto-install-ejabberd</a></p> Tue, 17 Apr 2007 17:11:02 +0000 rokkys comment 3588 at https://www.ejabberd.im