HTTP variables
$ssl_client_verify variable (HTTP TLS)
Verification outcome: SUCCESS, FAILED:reason, or NONE for no certificate. Use successful verification plus application authorization; absence of failure is not success. Version: Introduction not established. Requires HTTP SSL module and appropriate TLS library. Before 1.11.7 FAILED did not include a reason. 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_verifyWorking Example
Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_client_verify $lab_tls_client_verify { SUCCESS verified; NONE absent; default not_verified;}