ejabberd - Comments for "ejabberd + OpenLDAP + SSL" https://www.ejabberd.im/node/2982 en Seems a problem in the certificate file https://www.ejabberd.im/node/2982#comment-52210 <p>At first look it seems a problem in the certificate file. Maybe it is not of the format expected by ejabberd/Erlang/OpenSSL.</p> <p>Since I am not an expert in the certificate stuff, I can only tell you how looks the certificate file that works for me:</p> <div class="codeblock"><code>$ cat /etc/ejabberd/cert.pem<br />-----BEGIN CERTIFICATE-----<br />MIIDIjCCAougAwIBAgIJAP7Zreu8hd7lMA0GCSqGSIb3DQEBBAUAMGoxCzAJBgNV<br />...<br />J44awgs57SlDW6HApAoodmVwpyeNcsHA+5weZn6Ynv0qbCRbcJgwruI391cMv6+O<br />iCfiSB8KHlH8v8FS5kjhAwwcWVtlonio6Zk55j/HZzmtpicRr7U=<br />-----END CERTIFICATE-----<br />-----BEGIN RSA PRIVATE KEY-----<br />MIICXQIBAAKBgQDVAY+IG7MRUhBEVQVjfCOnELmYZUnY/6yaDwpsHAZ+K1L+m+pd<br />....<br />ESHwz9pc0tSvDaSzQgmSk/NFjCu5GZt3urs7Q30/VGZz<br />-----END RSA PRIVATE KEY-----</code></div> Sun, 20 Apr 2008 17:53:22 +0000 mfoss comment 52210 at https://www.ejabberd.im