SOLVED: Updated SSL certificate for ejabberd doesn't work with pidgin

Hi all,

UPDATE: I was using a wildcard SSL certificate when it needed the non-wildcard SSL certificate. I guess they just couldn't set this up so it is possible to have just one SSL certificate.

According to /var/log/ejabberd/sasl.log:

=SUPERVISOR REPORT==== 6-Oct-2010::22:59:43 ===
     Supervisor: {local,ejabberd_c2s_sup}
     Context:    child_terminated
     Reason:     {{badmatch,{error,"SSL_CTX_use_PrivateKey_file failed: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch"}},
                  [{ejabberd_socket,starttls,3},
                   {ejabberd_c2s,wait_for_feature_request,2},
                   {p1_fsm,handle_msg,10},
                   {proc_lib,init_p,5}]}
     Offender:   [{pid,<0.336.0>},
                  {name,undefined},
                  {mfa,
                      {ejabberd_c2s,start_link,
                          [{ejabberd_socket,
                               {socket_state,gen_tcp,#Port<0.427>,<0.335.0>}},
                           [{access,c2s},
                            {shaper,c2s_shaper},
                            {max_stanza_size,65536},
                            starttls_required,
                            {certfile,"/etc/ejabberd/ejabberd.pem"}]]}},
                  {restart_type,temporary},
                  {shutdown,brutal_kill},
                  {child_type,worker}]

I concatenated the certificate and key files from the same ones I'm using for Apache.

Pidgin says "server closed the connection." What does this mean and how do I troubleshoot/fix this?

Syndicate content