mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#8861 clarify tls keyword
This commit is contained in:
parent
70a7f51742
commit
dfd8515e8e
@ -443,15 +443,43 @@ See
|
||||
for details.
|
||||
|
||||
.TP
|
||||
.B tls {[try\-]start|[try\-]propagate}
|
||||
execute the StartTLS extended operation when the connection is initialized;
|
||||
only works if the URI directive protocol scheme is not \fBldaps://\fP.
|
||||
.B tls {none|[try\-]start|[try\-]propagate|ldaps}
|
||||
B [starttls=no]
|
||||
.B [tls_cert=<file>]
|
||||
.B [tls_key=<file>]
|
||||
.B [tls_cacert=<file>]
|
||||
.B [tls_cacertdir=<path>]
|
||||
.B [tls_reqcert=never|allow|try|demand]
|
||||
.B [tls_reqsan=never|allow|try|demand]
|
||||
.B [tls_cipher_suite=<ciphers>]
|
||||
.B [tls_ecname=<names>]
|
||||
.B [tls_crlcheck=none|peer|all]
|
||||
.RS
|
||||
Specify TLS settings regular connections.
|
||||
|
||||
If the first parameter is not "none" then this configures the TLS
|
||||
settings to be used for regular connections.
|
||||
The StartTLS extended operation will be used when establishing the
|
||||
connection unless the URI directive protocol scheme is \fBldaps://\fP.
|
||||
In that case this keyword may only be set to "ldaps" and the StartTLS
|
||||
operation will not be used.
|
||||
|
||||
\fBpropagate\fP issues the StartTLS operation only if the original
|
||||
connection did.
|
||||
The \fBtry\-\fP prefix instructs the proxy to continue operations
|
||||
if the StartTLS operation failed; its use is highly deprecated.
|
||||
The TLS settings default to the same as the main slapd TLS settings,
|
||||
except for
|
||||
.B tls_reqcert
|
||||
which defaults to "demand",
|
||||
.B tls_reqsan
|
||||
which defaults to "allow", and
|
||||
.B starttls
|
||||
which is overshadowed by the first keyword and thus ignored.
|
||||
|
||||
If set before any target specification, it affects all targets, unless
|
||||
overridden by any per-target directive.
|
||||
.RE
|
||||
|
||||
.SH SCENARIOS
|
||||
See
|
||||
|
@ -595,8 +595,12 @@ is used.
|
||||
.RS
|
||||
Specify TLS settings for regular connections.
|
||||
|
||||
The first parameter only applies to \fBldap://\fP connections and so
|
||||
at the moment, \fBnone\fP and \fBldaps\fP are equivalent.
|
||||
If the first parameter is not "none" then this configures the TLS
|
||||
settings to be used for regular connections.
|
||||
The StartTLS extended operation will be used when establishing the
|
||||
connection unless the URI directive protocol scheme is \fBldaps://\fP.
|
||||
In that case this keyword may only be set to "ldaps" and the StartTLS
|
||||
operation will not be used.
|
||||
|
||||
With \fBpropagate\fP, the proxy issues StartTLS operation only if
|
||||
the original connection has a TLS layer set up.
|
||||
|
@ -722,15 +722,43 @@ In case the timeout is exceeded during a bind operation, the connection
|
||||
is destroyed, according to RFC4511.
|
||||
|
||||
.TP
|
||||
.B tls {[try\-]start|[try\-]propagate}
|
||||
execute the StartTLS extended operation when the connection is initialized;
|
||||
only works if the URI directive protocol scheme is not \fBldaps://\fP.
|
||||
.B tls {none|[try\-]start|[try\-]propagate|ldaps}
|
||||
.B [starttls=no]
|
||||
.B [tls_cert=<file>]
|
||||
.B [tls_key=<file>]
|
||||
.B [tls_cacert=<file>]
|
||||
.B [tls_cacertdir=<path>]
|
||||
.B [tls_reqcert=never|allow|try|demand]
|
||||
.B [tls_reqsan=never|allow|try|demand]
|
||||
.B [tls_cipher_suite=<ciphers>]
|
||||
.B [tls_ecname=<names>]
|
||||
.B [tls_crlcheck=none|peer|all]
|
||||
.RS
|
||||
Specify TLS settings regular connections.
|
||||
|
||||
If the first parameter is not "none" then this configures the TLS
|
||||
settings to be used for regular connections.
|
||||
The StartTLS extended operation will be used when establishing the
|
||||
connection unless the URI directive protocol scheme is \fBldaps://\fP.
|
||||
In that case this keyword may only be set to "ldaps" and the StartTLS
|
||||
operation will not be used.
|
||||
|
||||
\fBpropagate\fP issues the StartTLS operation only if the original
|
||||
connection did.
|
||||
The \fBtry\-\fP prefix instructs the proxy to continue operations
|
||||
if the StartTLS operation failed; its use is highly deprecated.
|
||||
The TLS settings default to the same as the main slapd TLS settings,
|
||||
except for
|
||||
.B tls_reqcert
|
||||
which defaults to "demand",
|
||||
.B tls_reqsan
|
||||
which defaults to "allow", and
|
||||
.B starttls
|
||||
which is overshadowed by the first keyword and thus ignored.
|
||||
|
||||
If set before any target specification, it affects all targets, unless
|
||||
overridden by any per-target directive.
|
||||
.RE
|
||||
|
||||
.SH SCENARIOS
|
||||
A powerful (and in some sense dangerous) rewrite engine has been added
|
||||
|
Loading…
Reference in New Issue
Block a user