{"record":{"id":"1b2233c16c1f6abf","repo":"nginx/nginx","slug":"ngx-log-err-1b2233","errorCode":"NGX_LOG_ERR","errorMessage":"certificate status \\\"%s\\\" in the OCSP response","messagePattern":"certificate status \\\\\"(.+?)\\\\\" in the OCSP response","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/event/ngx_event_openssl_stapling.c","lineNumber":714,"sourceCode":"}\n\n\nstatic void\nngx_ssl_stapling_ocsp_handler(ngx_ssl_ocsp_ctx_t *ctx)\n{\n    time_t               now;\n    ngx_str_t            response;\n    ngx_ssl_stapling_t  *staple;\n\n    staple = ctx->data;\n    now = ngx_time();\n\n    if (ngx_ssl_ocsp_verify(ctx) != NGX_OK) {\n        goto error;\n    }\n\n    if (ctx->status != V_OCSP_CERTSTATUS_GOOD) {\n        ngx_log_error(NGX_LOG_ERR, ctx->log, 0,\n                      \"certificate status \\\"%s\\\" in the OCSP response\",\n                      OCSP_cert_status_str(ctx->status));\n        goto error;\n    }\n\n    /* copy the response to memory not in ctx->pool */\n\n    response.len = ctx->response->last - ctx->response->pos;\n    response.data = ngx_alloc(response.len, ctx->log);\n\n    if (response.data == NULL) {\n        goto error;\n    }\n\n    ngx_memcpy(response.data, ctx->response->pos, response.len);\n\n    if (staple->staple.data) {\n        ngx_free(staple->staple.data);","sourceCodeStart":696,"sourceCodeEnd":732,"githubUrl":"https://github.com/nginx/nginx/blob/3f6f7824d4e2eb1ac37dec76683d525ac0ff521c/src/event/ngx_event_openssl_stapling.c#L696-L732","documentation":"Error \"certificate status \\\"%s\\\" in the OCSP response\" thrown in nginx/nginx.","triggerScenarios":"Thrown at src/event/ngx_event_openssl_stapling.c:714 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f6f7824d4e2eb1ac37dec76683d525ac0ff521c","analyzedAt":"2026-08-22T03:09:46.447Z","schemaVersion":2},"datasetVersion":"2026-08-22T04:17:13.399Z"}