domain_certfile misconfiguration?

I have a ejabberd service running on a machine and I need to provide vhosting for multiple domains, some of which have their own SSL certificates. Here is my sanitized config:

http://pastebin.com/AV6EmwCv

Basically I want to be able to connect with TLS to qwerty.com and have it utilize the qwerty.com pem file which I believe I've properly configured. In it's current state it uses the generic certificate (/etc/ejabberd/ejabberd.pem).

Thanks in advance!

Your line 34

Your line 34 says:

starttls{domain_certfile, 'qwerty.com', '/etc/ejabberd/keys/qwerty.com.pem'}.

That first word is wrong.

Also, compare that with the example line found in the ejabberd Guide:

{domain_certfile, "example.com", "/etc/ejabberd/example_com.pem"}.

As you can see, it's "X", not 'X'.

Syndicate content