HTTP variables
$ssl_client_fingerprint variable (HTTP TLS)
SHA-1 digest of the presented client certificate. Useful for legacy diagnostics, not a modern collision-resistant identity or authorization decision. Version: 1.7.1. Requires HTTP SSL module and appropriate TLS library. No positional arguments. The example is an http-context map; use only in a disposable TLS lab. A map classification is not authorization.
Formal Syntax & Structure
nginx syntaxnginx
$ssl_client_fingerprintWorking Example
Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_client_fingerprint $lab_tls_client_fingerprint { "" 0; default 1;}