From 7f68a95bac1ef1f9a10b0350eb97c8feb5eb7864 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 27 Jan 2002 04:49:32 +0000 Subject: [PATCH] Added TLSVerifyClient configuration notes --- doc/man/man5/slapd.conf.5 | 45 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 7839dde9e5..0708a71918 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1,4 +1,4 @@ -.TH SLAPD.CONF 5 "28 May 2001" "OpenLDAP LDVERSION" +.TH SLAPD.CONF 5 "26 January 2002" "OpenLDAP LDVERSION" .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ @@ -594,7 +594,7 @@ for an explanation of the different flags. .SH TLS OPTIONS If .B slapd -is build with support for Transport Layer Security, there are more options +is built with support for Transport Layer Security, there are more options you can specify. .TP .B TLSCipherSuite @@ -607,6 +607,12 @@ To check what ciphers a given spec selects, use: openssl ciphers -v .TP +.B TLSCACertificateFile +Specifies the file that contains certificates for all of the Certificate +Authorities that +.B slapd +will recognize. +.TP .B TLSCertificateFile Specifies the file that contains the .B slapd @@ -624,6 +630,41 @@ it is of critical importance that it is protected carefully. Specifies the file to obtain random bits from when /dev/[u]random is not available. Generally set to the name of the EGD/PRNGD socket. The environment variable RANDFILE can also be used to specify the filename. +.TP +.B TLSVerifyClient +Specifies what checks to perform on client certificates in an +incoming TLS session, if any. +The +.B +can be specified as one of the following keywords: +.RS +.TP +.B never +This is the default. +.B slapd +will not ask the client for a certificate. +.TP +.B allow +The client certificate is requested. If no certificate is provided, +the session proceeds normally. If a bad certificate is provided, +it will be ignored and the session proceeds normally. +.TP +.B try +The client certificate is requested. If no certificate is provided, +the session proceeds normally. If a bad certificate is provided, +the session is immediately terminated. +.TP +.B demand | hard | true +These keywords are all equivalent, for compatibility reasons. +The client certificate is requested. If no certificate is provided, +or a bad certificate is provided, the session is immediately terminated. +.LP +Note that a valid client certificate is required in order to use the +SASL EXTERNAL authentication mechanism with a TLS session. As such, +a non-default +.B TLSVerifyClient +setting must be chosen to enable SASL EXTERNAL authentication. +.RE .SH GENERAL BACKEND OPTIONS Options in this section only apply to the configuration file section for the specified backend. They are supported by every -- 2.39.5