]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9934 slapd-config(5) add new TLS cert/key settings
authorHoward Chu <hyc@openldap.org>
Tue, 25 Mar 2025 16:32:12 +0000 (16:32 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 1 Apr 2025 16:06:32 +0000 (16:06 +0000)
doc/man/man5/slapd-config.5

index 00ed655b5a82ab2421dcaa5a9a6abab8476cc245..cafd49b9cd1bd4d939cfa01e17c8a7a85edaec0e 100644 (file)
@@ -954,6 +954,13 @@ or the olcTLSCACertificateFile is defined. If both are specified, both
 locations will be used. Multiple directories may be specified,
 separated by a semi-colon.
 .TP
+.B olcTLSCACertificate: <CA cert>
+Stores a single CA certificate that will be trusted by the server, in DER format.
+If this option is set, the \fBolcTLSCACertificateFile\fP and
+\fBolcTLSCACertificatePath\fP options are ignored. If multiple
+CA certificates are required, the \fBolcTLSCACertificateFile\fP
+or \fBolcTLSCACertificatePath\fP options must be used instead of this option.
+.TP
 .B olcTLSCertificateFile: <filename>
 Specifies the file that contains the
 .B slapd
@@ -962,17 +969,24 @@ server certificate.
 When using OpenSSL that file may also contain any number of intermediate
 certificates after the server certificate.
 .TP
+.B olcTLSCertificate: <cert>
+Stores a single certificate for the server, in DER format. If this option is
+used, the \fBolcTLSCertificateFile\fP option is ignored.
+.TP
 .B olcTLSCertificateKeyFile: <filename>
 Specifies the file that contains the
 .B slapd
-server private key that matches the certificate stored in the
-.B olcTLSCertificateFile
-file. If the private key is protected with a password, the password must
+server private key that matches the specified server certificate.
+If the private key file is protected with a password, the password must
 be manually typed in when slapd starts.  Usually the private key is not
 protected with a password, to allow slapd to start without manual
 intervention, so
 it is of critical importance that the file is protected carefully. 
 .TP
+.B olcTLSCertificateKey <key>
+Stores the private key that matches the server certificate. If this option is
+used, the \fBolcTLSCertificateKeyFile\fP option is ignored.
+.TP
 .B olcTLSDHParamFile: <filename>
 This directive specifies the file that contains parameters for Diffie-Hellman
 ephemeral key exchange.  This is required in order to use a DSA certificate on