[ejabberd] ejabberd.pem and virtual host - success

Bernhard zwischenbrugger bz at datenkueche.com
Wed Jul 8 18:38:52 MSD 2009


Cool, that works!!!

Thanks a lot.

Bernhard


Badlop schrieb:
>> 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
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>   



More information about the ejabberd mailing list