[ejabberd] ssl_ctx_use_certificate_chain_file failed

Jiann-Ming Su sujiannming at gmail.com
Thu May 19 18:47:32 MSD 2005


My ejabberd server was working last night, but when I tried to connect
this morning, I get disconnected with the following message in
ejabberd.log:

=INFO REPORT==== 2005-05-19 10:37:52 ===
I(<0.289.0>:ejabberd_listener:90): (#Port<0.8710>) Accepted connection
{{192.2,77,145},2264} -> {{10.1,127,138},5222}

=ERROR REPORT==== 2005-05-19 10:37:52 ===
** State machine <0.9055.0> terminating
** Last event in was {xmlstreamelement,
                         {xmlelement,"starttls",
                                     [{"xmlns",
                                       "urn:ietf:params:xml:ns:xmpp-tls"}],
                                     []}}
** When State == wait_for_feature_request
**      Data  == {state,#Port<0.8710>,
                        <0.9056.0>,
                        gen_tcp,
                        "2428364306",
                        {sasl_state,"jabber",
                                    "ejabberd.mydomain.bogus",
                                    [],
                                    #Fun<ejabberd_c2s.1.99667652>,
                                    #Fun<ejabberd_c2s.2.115961139>,
                                    undefined,
                                    undefined},
                        c2s,
                        c2s_shaper,
                        true,
                        false,
                        false,
                        [{certfile,"/etc/ssl/certs/ejabberd.pem"}],
                        false,
                        undefined,
                        [],
                        "ejabberd.mydomain.bogus",
                        [],
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        {0,nil},
                        undefined,
                        undefined,
                        undefined,
                        false,
                        none,
                        []}
** Reason for termination =
** {{badmatch,{error,"ssl_ctx_use_certificate_chain_file failed"}},
    [{ejabberd_c2s,wait_for_feature_request,2},
     {gen_fsm,handle_msg,7},
     {proc_lib,init_p,5}]}

I restarted ejabberd and it seems to be working again.  I'm using ejabberd
0.9 on Debian.  Erlang is at 9.2.2.

-- 
Jiann-Ming Su
"I have to decide between two equally frightening options. 
 If I wanted to do that, I'd vote." --Duckman


More information about the ejabberd mailing list