[ejabberd] ejabberd.pem and virtual host

Badlop badlop at gmail.com
Wed Jul 8 18:29:10 MSD 2009


> Pablo Polvorin schrieb:
>>> {domain_certfile, Domain, Path}
>>
>> (note that these options should be at a global level, not on a particular
>>  listener)

2009/7/8 Bernhard zwischenbrugger <bz at datenkueche.com>:
> Thanks for answer, but no success.

You disabled starttls in the listener, how could it work?
In the 5222 listener you must put starttls.

Then, as Pablo mentioned, instead of including the certfile option in
the listener,
you must use the global option domain_certfile several times to define
the certfile of each vhost.

Something like this:

> {hosts, ["jabberworld.org", "datenkueche.com"]}.
>
> {listen, [
>      {5222, ejabberd_c2s, [
>                       starttls,
>                       {access, c2s},
>                       {shaper, c2s_shaper},
>                       {max_stanza_size, 65536}
>                      ]},
>   ....
> ]}.
>
> {domain_certfile, "jabberworld.org", "/etc/ejabberd/jabberworld.pem"}.
> {domain_certfile, "datenkueche.com", "/etc/ejabberd/datenkueche.pem"}.


---
Badlop
ProcessOne


More information about the ejabberd mailing list