[ejabberd] multi domain ssl ubuntu-server 16, ejabberd Version: 16.01-2

Stefan Fuhrmann stefan at fuhrmann.homedns.org
Mon Feb 27 18:10:17 MSK 2017


Hello all,

I want to run a multi domain setup with ssl.

I uncomment and edit the ejabberd.yml
host_config:
  "example.org":
                       domain_certfile: "/etc/ejabbberd/ssl/ejabberd.pem"
   "example2.org":
                      domain_certfile: "/etc/ejabbberd/ssl/ejabberd2.pem"

but getting in log:
CRASH REPORT Process <0.560.0> with 0 neighbours exited with reason: no match 
of right hand value {error,<<"SSL_CTX_use_certificate_file failed: error:
02001002:system library:fopen:No such file or directory">>} in 
ejabberd_socket:starttls/3 line 153 in p1_fsm:terminate/8 line 760


but the .pem files are there.
The certis are created with letsencrypt doing a merge with privkey and 
fullchain. pem.

This certi is running without the domain specific config.

Whats wrong?
Can somone help?

Tia
Stefan


More information about the ejabberd mailing list