mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
DOC: provide an example of how to use ssl_c_sha1
As suggested by Aydan Yumerefendi, a little bit of examples never hurts.
This commit is contained in:
parent
7319b64fc4
commit
2d0caa38e0
@ -10793,6 +10793,10 @@ ssl_c_sha1 : binary
|
|||||||
Returns the SHA-1 fingerprint of the certificate presented by the client when
|
Returns the SHA-1 fingerprint of the certificate presented by the client when
|
||||||
the incoming connection was made over an SSL/TLS transport layer. This can be
|
the incoming connection was made over an SSL/TLS transport layer. This can be
|
||||||
used to stick a client to a server, or to pass this information to a server.
|
used to stick a client to a server, or to pass this information to a server.
|
||||||
|
Note that the output is binary, so if you want to pass that signature to the
|
||||||
|
server, you need to encode it in hex or base64, such as in the example below:
|
||||||
|
|
||||||
|
http-request set-header X-SSL-Client-SHA1 %[ssl_c_sha1,hex]
|
||||||
|
|
||||||
ssl_c_sig_alg : string
|
ssl_c_sig_alg : string
|
||||||
Returns the name of the algorithm used to sign the certificate presented by
|
Returns the name of the algorithm used to sign the certificate presented by
|
||||||
|
Loading…
Reference in New Issue
Block a user