From: Stefan Metzmacher Date: Tue, 13 Feb 2024 16:42:41 +0000 (+0100) Subject: docs-xml: add 'tls trust system cas' and 'tls ca directories' options X-Git-Tag: tdb-1.4.11~963 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b84c97cf39c60706a637370e4856fc60671c3a8;p=thirdparty%2Fsamba.git docs-xml: add 'tls trust system cas' and 'tls ca directories' options This will make it easier to support trusting more than one CA. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/docs-xml/smbdotconf/security/tlscadirs.xml b/docs-xml/smbdotconf/security/tlscadirs.xml new file mode 100644 index 00000000000..dc75cec3efa --- /dev/null +++ b/docs-xml/smbdotconf/security/tlscadirs.xml @@ -0,0 +1,14 @@ + + + This option can be set to a list of directories with files (in PEM format) + containing CA certificates of root CAs to trust to sign + certificates or intermediate CA certificates. + + + tls trust system cas + tls cafile + tls crlfile + diff --git a/docs-xml/smbdotconf/security/tlscafile.xml b/docs-xml/smbdotconf/security/tlscafile.xml index bcbac62a417..87a9454bba1 100644 --- a/docs-xml/smbdotconf/security/tlscafile.xml +++ b/docs-xml/smbdotconf/security/tlscafile.xml @@ -11,6 +11,8 @@ does not start with a /. + tls trust system cas + tls ca directories tls certfile tls crlfile tls dh params file diff --git a/docs-xml/smbdotconf/security/tlstrustsystemcas.xml b/docs-xml/smbdotconf/security/tlstrustsystemcas.xml new file mode 100644 index 00000000000..cbadaa25609 --- /dev/null +++ b/docs-xml/smbdotconf/security/tlstrustsystemcas.xml @@ -0,0 +1,17 @@ + + + With this option the system's default trusted CAs are + used to trust SSL/TLS connections. + + Please use this with care, as it really means + trusting all CAs installed on the system! + + + tls ca directories + tls cafile + tls crlfile + no + diff --git a/docs-xml/smbdotconf/security/tlsverifypeer.xml b/docs-xml/smbdotconf/security/tlsverifypeer.xml index 4f47dd4db0d..8ff7afaaf84 100644 --- a/docs-xml/smbdotconf/security/tlsverifypeer.xml +++ b/docs-xml/smbdotconf/security/tlsverifypeer.xml @@ -19,7 +19,9 @@ When set to ca_only the certificate is verified to be signed from a ca specified in the option. - Setting to a valid file is required. + As alternative or + can be used. + Providing at least one valid CA certificate is required. The certificate lifetime is also verified. If the option is configured, the certificate is also verified against the ca crl. @@ -43,5 +45,9 @@ + tls trust system cas + tls ca directories + tls cafile + tls crlfile as_strict_as_possible