ejabberd - Comments for "SSL connections being dropped" https://www.ejabberd.im/node/336 en things to try https://www.ejabberd.im/node/336#comment-678 <p>Try putting the full path: <pre> {5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}, starttls, {certfile, "/etc/ssl/home.trypticon.org/server.pem"}]}, {5223, ejabberd_c2s, [{access, c2s}, tls, {certfile, "/etc/ssl/home.trypticon.org/server.pem"}]},</pre> If that works you can try {certfile, "/etc/ejabberd/ssl.pem"}. If I remember correctly, when running ejabberd the directory "./" is where the beam files are, not $HOME. </p> <p>If that does not help, try with a new cert self-signed, just to be sure the problem is not with that specific cert.</p> Tue, 02 Aug 2005 10:15:47 +0000 mfoss comment 678 at https://www.ejabberd.im Also https://www.ejabberd.im/node/336#comment-675 <p>I forgot to add, I know it's a problem with SSL specifically, because I'm getting the same error which you get when the file isn't readable:</p> <p>{badmatch, {error, "ssl_ctx_use_certificate_chain_file failed"}}</p> <p>(Only in this case, the file most certainly is readable.)</p> Tue, 02 Aug 2005 00:59:50 +0000 trejkaz@jabber.zim.net.au comment 675 at https://www.ejabberd.im