Menu

Nginx optional_no_ca requests a certificate without validating its issuer
📰

Nginx optional_no_ca requests a certificate without validating its issuer

DEV Community: cybersecurity·kozhevniko·about 3 hours ago
#dD3khwAx
Reading 0:00
15s threshold

Nginx optional_no_ca requests a certificate without validating its issuer

Nginx's ssl_verify_client directive can be set to on , off , optional , or optional_no_ca . The last value is easy to misread. It requests a client certificate but does not verify the certificate chain against the configured trusted CA. Nginx describes it as intended for deployments where an external service performs the actual verification. If an application treats a presented certificate as proof of identity and Nginx is configured with optional_no_ca , the trust decision has moved somewhere that may not exist.

The certificate can still be useful as an input to another verification step. It should not be accepted merely because the TLS handshake completed. Nginx exposes the verification result through $ssl_client_verify .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.