HTTP variables

$ssl_client_i_dn_legacy variable (HTTP TLS)

Earlier issuer DN formatting under a distinct variable name. Check normalization before migrating old string comparisons; avoid DN-based authorization alone. Version: 1.11.6 (legacy name). Requires HTTP SSL module and appropriate TLS library. Before 1.11.6 the legacy representation used ssl_client_i_dn. 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_i_dn_legacy

Working Example

Example Snippetnginx
# Partial http-context example: classify synthetic TLS metadata without emitting raw values.map $ssl_client_i_dn_legacy $lab_tls_client_i_dn_legacy {    "" 0;    default 1;}
Nginx Reference