Complete the code to enable OCSP stapling in the nginx server block.
ssl_stapling [1];Setting ssl_stapling on; enables OCSP stapling in nginx.
Complete the code to specify the trusted certificate for OCSP stapling.
ssl_trusted_certificate [1];The ssl_trusted_certificate directive must point to the CA bundle file that nginx uses to verify OCSP responses.
Fix the error in the directive to enable OCSP stapling with verification.
ssl_stapling_verify [1];To enable OCSP stapling verification, use ssl_stapling_verify on;.
Fill both blanks to complete the OCSP stapling configuration in nginx.
ssl_stapling [1]; ssl_stapling_verify [2];
Enable OCSP stapling with ssl_stapling on; and disable verification with ssl_stapling_verify off;.
Fill all three blanks to complete the nginx server block snippet for OCSP stapling.
server {
listen 443 ssl;
ssl_certificate [1];
ssl_certificate_key [2];
ssl_trusted_certificate [3];
ssl_stapling on;
ssl_stapling_verify on;
}The ssl_certificate and ssl_certificate_key directives specify your server's certificate and private key. The ssl_trusted_certificate points to the CA bundle for OCSP verification.