HTTP directives

ssl_stapling_file directive (HTTP)

Supply a DER-encoded OCSP response for the server certificate instead of querying its responder. It must match the certificate and remain valid; a syntax pass does not prove freshness or client acceptance. Context: http, server. Documented default: none. Version: 1.3.7. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.

Formal Syntax & Structure

nginx syntaxnginx
ssl_stapling_file file;

Parameters & Attributes

NameTypeDescription
filelocal file pathUse a controlled lab artifact of the documented format; restrict secret files.

Working Example

Example Snippetnginx
ssl_stapling on;ssl_stapling_file certs/lab.ocsp;
Nginx Reference