]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: ssl: add fetch and ACL 'client_cert'
authorEmeric Brun <ebrun@exceliance.fr>
Fri, 28 Sep 2012 15:28:03 +0000 (17:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 06:32:50 +0000 (08:32 +0200)
doc/configuration.txt

index afcd558515c6262757ccf771ad43505c9dc5559b..48a6b98b09c98a818f9314744819f70d69ea9047 100644 (file)
@@ -8051,6 +8051,10 @@ during analysis. This requires that some data has been buffered, for instance
 through TCP request content inspection. Please see the "tcp-request content"
 keyword for more detailed information on the subject.
 
+client_crt
+  Returns true if a client certificate is present in an incoming connection over
+  SSL/TLS data layer. Useful if 'verify' statement is set to 'optional'.
+
 is_ssl
   Returns true when the incoming connection was made via an SSL/TLS data layer
   and is locally deciphered. This means it has matched a socket declared with
@@ -8713,6 +8717,9 @@ The list of currently supported pattern fetch functions is the following :
                shared caches efficiency. Using this with a limited size stick
                table also allows one to collect statistics about most commonly
                requested objects by host/path.
+  client_crt
+               Returns 1 if a client certificate is present in an incoming
+               connection over SSL/TLS data layer, otherwise 0.
 
   src          This is the source IPv4 address of the client of the session.
                It is of type IPv4 and works on both IPv4 and IPv6 tables.