HTTP SSL directives
ssl_verify_client directive
http/server. Client authentication policy; default off. optional verifies a presented certificate; optional_no_ca requires separate trust verification.
Formal Syntax & Structure
nginx syntaxnginx
ssl_verify_client on | off | optional | optional_no_ca;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode | on | off | optional | optional_no_ca | Require, skip, request and check, or request without trusted-CA requirement. The last mode needs independent validation. |
Working Example
Example Snippetnginx
ssl_verify_client on;