Skip to content

Certificate Pinning

Spicy — senior dev territorySecurity

ELI5 — The Vibe Check

Certificate Pinning means your app only trusts a SPECIFIC certificate, not any cert signed by a trusted CA. Even if an attacker gets a valid cert from a compromised CA, your app rejects it. It's like only accepting your house key, not any key that fits the lock brand.

Real Talk

Certificate pinning associates a host with its expected public key or certificate, rejecting connections even if the presented certificate is otherwise valid. It mitigates CA compromise and MITM attacks. Common in mobile apps; HPKP was deprecated in browsers but pinning remains standard in native apps.

When You'll Hear This

"Our mobile app pins the API server certificate — MITM proxies can't intercept traffic." / "Certificate pinning broke when we rotated certs — always pin the public key, not the certificate."

Made with passive-aggressive love by manoga.digital. Powered by Claude.