📡 OCSP Responder

Online Certificate Status Protocol endpoint for CloudFront mTLS

ocsp.tzoori.click

🔄 How it works

🔐 Client presents cert→☁️ CloudFront mTLS→📡 OCSP query here→✅ Allow / ❌ Deny

During the TLS handshake, CloudFront extracts the OCSP responder URL from the client certificate's AIA extension and queries this endpoint to check revocation status in real time.

📊 Response Statuses

Good
Certificate is valid
Revoked
Certificate is revoked
Unknown
Not recognized

⚙️ Architecture

S3 stores pre-computed DER-encoded OCSP responses signed by the CA.

CloudFront Function parses the ASN.1 DER request to extract the serial number, then routes to the matching response.

Connection Function on mtls.tzoori.click receives the OCSP result and enforces revocation.

Responses cached ~30 min at edge | Content-Type: application/ocsp-response | Signed by CA