HTTP directives
ssl_certificate_cache directive (HTTP)
Cache certificates and private keys selected using variable paths. Bound memory and reload age; rotation must account for cache lifetime. Restrict variable-derived paths to known identities. Context: http, server. Documented default: off. Version: 1.27.4. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
ssl_certificate_cache off | max=N [inactive=time] [valid=time];Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| off | literal off | Disable caching; alternative to enabled form. |
| max | max=positive integer | Required in enabled form; bounds cached elements. |
| inactive | inactive=duration | Remove unused elements after the interval; default 10s. |
| valid | valid=duration | Reuse before refreshing; default 60s. |
Working Example
Example Snippetnginx
ssl_certificate_cache max=32 inactive=15s valid=45s;