$OpenBSD: patch-src_ejabberd_cfg_example,v 1.5 2012/01/23 10:54:47 ajacoutot Exp $ --- src/ejabberd.cfg.example.orig Fri Dec 23 12:27:30 2011 +++ src/ejabberd.cfg.example Sun Jan 22 20:11:03 2012 @@ -115,7 +115,7 @@ %% certificate, specify the full path to the %% file and uncomment this line: %% - %%{certfile, "/path/to/ssl.pem"}, starttls, + {certfile, "${SYSCONFDIR}/ejabberd/myserver.pem"}, starttls, {access, c2s}, {shaper, c2s_shaper}, @@ -125,12 +125,12 @@ %% %% To enable the old SSL connection method on port 5223: %% - %%{5223, ejabberd_c2s, [ - %% {access, c2s}, - %% {shaper, c2s_shaper}, - %% {certfile, "/path/to/ssl.pem"}, tls, - %% {max_stanza_size, 65536} - %% ]}, +{5223, ejabberd_c2s, [ + {access, c2s}, + {shaper, c2s_shaper}, + {certfile, "${SYSCONFDIR}/ejabberd/myserver.pem"}, tls, + {max_stanza_size, 65536} + ]}, {5269, ejabberd_s2s_in, [ {shaper, s2s_shaper}, @@ -173,18 +173,18 @@ %% Allowed values are: false optional required required_trusted %% You must specify a certificate file. %% -%%{s2s_use_starttls, optional}. +{s2s_use_starttls, optional}. %% %% s2s_certfile: Specify a certificate file. %% -%%{s2s_certfile, "/path/to/ssl.pem"}. +{s2s_certfile, "${SYSCONFDIR}/ejabberd/myserver.pem"}. %% %% domain_certfile: Specify a different certificate for each served hostname. %% -%%{domain_certfile, "example.org", "/path/to/example_org.pem"}. -%%{domain_certfile, "example.com", "/path/to/example_com.pem"}. +%%{domain_certfile, "example.org", "${SYSCONFDIR}/ejabberd/example_org.pem"}. +%%{domain_certfile, "example.com", "${SYSCONFDIR}/ejabberd/example_com.pem"}. %% %% S2S whitelist or blacklist