aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-12-11 02:28:50 +0100
committerBadlop <badlop@process-one.net>2010-12-11 02:29:53 +0100
commitb9bbe19d4ce697fd500f5869609752eebd278cb9 (patch)
tree7af825b50f8280d77a45c1e31c10118ec47568ac /doc
parentInclude From attribute in the stream header of outgoing S2S connections (diff)
Option to reject S2S connection if untrusted certificate (EJAB-464)
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index bccbe586d..0ae3053e5 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -962,9 +962,11 @@ This is a detailed description of each option allowed by the listening modules:
There are some additional global options that can be specified in the ejabberd configuration file (outside \term{listen}):
\begin{description}
- \titem{\{s2s\_use\_starttls, false|optional|required\}}
+ \titem{\{s2s\_use\_starttls, false|optional|required|required\_trusted\}}
\ind{options!s2s\_use\_starttls}\ind{STARTTLS}This option defines if
- s2s connections can optionally use STARTTLS encryption, or if it must be required.
+ s2s connections don't use STARTTLS encryption; if STARTTLS can be used optionally;
+ if STARTTLS is required to establish the connection;
+ or if STARTTLS is required and the remote certificate must be valid and trusted.
The default value is to not use STARTTLS: \term{false}.
\titem{\{s2s\_certfile, Path\}} \ind{options!s2s\_certificate}Full path to a
file containing a SSL certificate.
@@ -1070,7 +1072,7 @@ In this example, the following configuration defines that:
on port 5223 (SSL, IP 192.168.0.1 and fdca:8ab6:a243:75ef::1) and denied
for the user called `\term{bad}'.
\item s2s connections are listened for on port 5269 (all IPv4 addresses)
- with STARTTLS for secured traffic required.
+ with STARTTLS for secured traffic strictly required, and the certificates are verified.
Incoming and outgoing connections of remote XMPP servers are denied,
only two servers can connect: "jabber.example.org" and "example.com".
\item Port 5280 is serving the Web Admin and the HTTP Polling service
@@ -1151,7 +1153,7 @@ In this example, the following configuration defines that:
{service_check_from, false}]}
]
}.
-{s2s_use_starttls, required}.
+{s2s_use_starttls, required_trusted}.
{s2s_certfile, "/path/to/ssl.pem"}.
{s2s_default_policy, deny}.
{{s2s_host,"jabber.example.org"}, allow}.