]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: configuration: add a warning for @system-ca on bind
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 25 May 2022 22:18:46 +0000 (00:18 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 25 May 2022 22:18:46 +0000 (00:18 +0200)
Add a warning on @system-ca on the bind line so people don't use it this
way.

doc/configuration.txt

index d9fd06dbd1de70e44336b1edca2b030809b7c7a6..c289523f67286eb7b5aba50ba53d58feb84fe0ed 100644 (file)
@@ -13872,6 +13872,13 @@ ca-file <cafile>
   CAs, in this case HAProxy will try to load every ".pem", ".crt", ".cer", and
   .crl" available in the directory, files starting with a dot are ignored.
 
+  Warning: The "@system-ca" parameter could be used in place of the cafile
+  in order to use the trusted CAs of your system, like its done with the server
+  directive. But you mustn't use it unless you know what you are doing.
+  Configuring it this way basically mean that the bind will accept any client
+  certificate generated from one of the CA present on your system, which is
+  extremely unsecure.
+
 ca-ignore-err [all|<errorID>,...]
   This setting is only available when support for OpenSSL was built in.
   Sets a comma separated list of errorIDs to ignore during verify at depth > 0.