Call the protected API
Your browser calls /api/whoami over the mTLS connection. You send no token: the identity comes only from the certificate in the handshake.
What just happened, step by step
⚙ What happened at the edge (Akamai config)
- Enforce mTLS settings: CA set edge-playground-clients · deny if no / invalid certificate
- Remove any client-sent X-EP-Identity and Akamai-CC-* headers
- Set Variable (Hidden): certificate status, issuer, subject, serial, SHA-256 fingerprint
- EdgeWorker: status ok → issuer pinned → (optional subject rule / kill switch) → sign ES256 with the certificate's identity → X-EP-Identity
- Missing, expired, revoked or untrusted certificate → 403 at the edge, the origin never sees it
- Which operator may use the API → decided by the origin (API gateway), not by Akamai