Description
- Add stats for bad OCSP response status: revoked or unknown.
$ traffic_line -m proxy.process.ssl.ssl_ocsp proxy.process.ssl.ssl_ocsp_revoked_cert_stat 0 proxy.process.ssl.ssl_ocsp_unknown_cert_stat 0
OCSP_resp_find_status(bs, cinf->cid, &status, &reason, &rev, &thisupd, &nextupd); switch (status) { case V_OCSP_CERTSTATUS_GOOD: break; case V_OCSP_CERTSTATUS_REVOKED: SSL_INCREMENT_DYN_STAT(ssl_ocsp_revoked_cert_stat); break; case V_OCSP_CERTSTATUS_UNKNOWN: SSL_INCREMENT_DYN_STAT(ssl_ocsp_unknown_cert_stat); break; default: break; }
- change debug tag in OCSP Stapling to ssl_ocsp.