HTTP directives
common_name_in_csr directive (HTTP ACME)
Controls inclusion of a subject common name in the CSR. Prefer the default unless an issuer explicitly requires a different policy. Context: acme_issuer. Documented default: off. Module release note: 0.4.0 introduced switch; earlier releases included CN. Requires the separately available ACME module; confirm the exact package/build. Illustrative only, not executed.
Formal Syntax & Structure
nginx syntaxnginx
common_name_in_csr on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| on | off | enum | Whether to include the first DNS name or IP in the subject CN. |
Working Example
Example Snippetnginx
# Illustrative fragment; do not activate against a real CA.common_name_in_csr off;