[ejabberd] ejabberd.pem and virtual host

Pablo Polvorin pablo.polvorin at process-one.net
Wed Jul 8 03:29:40 MSD 2009


Hi,
you should add a domain specific option for each of your virtual domains,
taken from the manual:

>{domain_certfile, Domain, Path}
>    Full path to the file containing the SSL certificate for a specific domain.

(note that these options should be at a global level, not on a particular
 listener)


2009/7/7 Bernhard zwischenbrugger <bz at datenkueche.com>:
> Hi all
>
> I have a server with 2 domains (virtualhost).
>
> Now I want to add the domain.pem thing to the  virtual host but don't know
> the syntax.
>
>
> At the moment I'm able to use ONE pem file using this syntax:
>
>
> {listen,
> [
>  {5222, ejabberd_c2s, [
>                       {access, c2s},
>                       {shaper, c2s_shaper},
>                       {max_stanza_size, 65536},
>                       starttls, {certfile, "/etc/ejabberd/datenkueche.pem"}
>                      ]},
> ....
>
> ---------------
>
> At the moment I have the same "pem-file" for two virtual hosts and don't
> know how to configure the second one.
>
> Is it possible with ejabberd to use TWO "pem-file" for TWO vhosts?
>
> bernhard
>
>
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>



-- 
Pablo Polvorin
ProcessOne


More information about the ejabberd mailing list