]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: ssl: add 'verify', 'cafile' and 'crlfile' statements on 'bind'
authorEmeric Brun <ebrun@exceliance.fr>
Fri, 28 Sep 2012 15:07:34 +0000 (17:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 06:32:37 +0000 (08:32 +0200)
doc/configuration.txt

index ccbd40b3d71b2171cf1a98486a9bef057f04e0be..afcd558515c6262757ccf771ad43505c9dc5559b 100644 (file)
@@ -6742,6 +6742,11 @@ ecdhe <named curve>
   the named curve (RFC 4492) used to generate ECDH ephemeral keys and makes
   ECDHE cipher suites usable.
 
+cafile <cafile>
+  This setting is only available when support for OpenSSL was built in. It
+  designates a PEM file from which to load CA certificates used to verify
+  client's certificate.
+
 ciphers <ciphers>
   This setting is only available when support for OpenSSL was built in. It sets
   the string describing the list of cipher algorithms ("cipher suite") that are
@@ -6749,6 +6754,11 @@ ciphers <ciphers>
   in "man 1 ciphers" from OpenSSL man pages, and can be for instance a string
   such as "AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH" (without quotes).
 
+crlfile <cafile>
+  This setting is only available when support for OpenSSL was built in. It
+  designates a PEM file from which to load certificate revocation list used
+  to verify client's certificate.
+
 crt <cert>
   This setting is only available when support for OpenSSL was built in.
   It designates a PEM file from which to load both a certificate and the
@@ -6919,6 +6929,15 @@ user <user>
   setting except that the user name is used instead of its uid. This setting is
   ignored by non UNIX sockets.
 
+verify [none|optional|required]
+  This setting is only available when support for OpenSSL was built in. If set
+  to 'none', client certificate is not requested. This is the default. In other
+  cases, a client certificate is requested. If the client does not provide a
+  certificate after the request and if 'verify' is set to 'required', then the
+  handshake is aborted, while it would have succeeded if set to 'optional'. The
+  certificate provided by the client is always verified using CAs from 'cafile'
+  and optional CRLs from 'crlfile'. On verify failure the handshake is aborted,
+  regardless of the 'verify' option.
 
 5.2. Server and default-server options
 ------------------------------------