Definition

Certificate pinning is a security technique that enhances the security and reliability of a website’s SSL connection by restricting it to trusted certificates.

It enables a website to define its SSL certificate’s distinct fingerprint (public key) for a web browser, which stores and verifies it during future visits, ensuring a secure and trustworthy connection and preventing the risk of fake certificates.

Certificate pinning protects against certificate impersonation and man-in-the-middle (MITM) attacks.

The Working Mechanism of Certificate Pinning

Certificate Pinning Types