Certificate Pinning

Also known as:Pinning

Certificate Pinning: Specification of expected certificates or public keys for a connection. Secure implementation depends particularly on suitable algorithms, proper key management, verified implementationsImplementationThe practical realization of a security design, requirement, or control in a system or process., and a controlled chain of trust.

How it works and where it fits

The security of Certificate Pinning comes from the combination of algorithm, parameters, keys, protocol, and implementation. A mathematically strong primitive can be defeated by an unsuitable mode, weak randomness, incorrect certificate validation, or exposed keys. The intended objective must therefore be explicit: confidentiality, integrity, authenticity, or non-repudiation.

Practical security relevance

In practice, key and certificate management is often more decisive than algorithm choice alone. Generation, storage, distribution, rotation, revocation, and destruction require defined controls and monitoring. Compatible parameters, maintained libraries, migration capability, and a response process for compromised keys are also necessary; proprietary cryptographic constructions should be avoided.

  • Digital CertificateDigital CertificateElectronic proof of identity that links a public key to an entity.: Electronic proof of identity that links a public key to an entity.
  • Public Key InfrastructurePublic Key InfrastructureA system of certificates, keys, roles, and processes for digital trust relationships.: A system of certificates, keys, roles, and processes for digital trust relationships.
  • Transport Layer SecurityTransport Layer SecurityProtects network connections through encryption, authentication, and integrity checks.: Protects network connections through encryption, authentication, and integrity checks.
  • Certificate AuthorityCertificate AuthorityTrusted entity that issues and validates digital certificates.: Trusted entity that issues and validates digital certificates.