Mobile app Legitimate server MITM attacker
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Certificate Pinning & MITM Defense

This simulator plays out the exact decision a mobile app makes on every HTTPS connection: does the server's presented public key match a hash the app already trusts? A packet travels a real 3D path from app to server on every attempt, an optional man-in-the-middle attacker can insert itself on that path with its own forged key, and SPKI-hash certificate pinning can be switched on or off to see it block β€” or fail to block β€” the interception. A certificate-rotation control demonstrates pinning's own failure mode: revoking trust in a key the app still expects, unless a backup pin was staged in advance.