Network Security

PKI (Public Key Infrastructure)

PKI is Public Key Infrastructure, the framework of policies, roles, hardware, software, and procedures that creates, manages, distributes, and revokes digital certificates, binding public keys to identities so that asymmetric cryptography can be trusted at scale.

In plain terms

PKI is the whole trust system behind digital certificates. Asymmetric cryptography lets you verify a public key, but how do you know whose key it is? PKI answers that, using trusted authorities to vouch that a given key really belongs to a given website, person, or device.

PKI, Public Key Infrastructure, is the framework that makes asymmetric cryptography trustworthy at scale by managing the binding between public keys and identities. Asymmetric cryptography lets anyone verify data signed with a private key using the corresponding public key, but it does not by itself answer a critical question: whose key is this? PKI solves that through digital certificates issued by trusted authorities, along with the policies, roles, and processes for creating, distributing, validating, and revoking those certificates. It is the system that lets a browser trust that a public key really belongs to a particular website, and it underlies TLS, secure email, code signing, and much of digital trust.

At the center of PKI is the certificate authority, a trusted entity that issues digital certificates. A certificate binds an identity, such as a domain name or organization, to a public key, and the certificate authority signs it with its own private key to vouch for that binding. Relying parties trust certain certificate authorities, often through a set of trusted root certificates built into operating systems and browsers. When they encounter a certificate signed by a trusted authority, they can validate the signature and thereby trust the binding, transferring trust from the authority to the certificate holder without having to know the holder directly.

PKI is typically hierarchical, forming a chain of trust. At the top are root certificate authorities, whose certificates are self-signed and widely trusted. Roots usually do not sign end-entity certificates directly; instead they sign intermediate certificate authorities, which in turn sign the certificates issued to websites, organizations, and devices. This creates a chain from a trusted root through intermediates to the end certificate, and a relying party validates the entire chain. The hierarchy protects the precious root keys by keeping them offline and delegating day-to-day issuance to intermediates, and it allows compromised intermediates to be replaced without invalidating the root.

Beyond issuance, PKI must handle the full life cycle of certificates, including validation and revocation. Certificates have validity periods and must be checked for expiry, correct identity, and proper chaining when they are used. Crucially, there must be a way to revoke certificates that should no longer be trusted, for example when a private key is compromised or an organization’s details change. Mechanisms such as certificate revocation lists and online status checking allow relying parties to learn that a certificate has been revoked before its natural expiry. Managing revocation effectively is one of the persistent challenges of PKI, because relying parties need timely, reliable information about which certificates to distrust.

The components of PKI extend beyond the certificate authority. A registration authority may handle verifying the identity of certificate requesters before issuance. Certificate requests begin with a certificate signing request, in which the requester submits their public key and identity details to be signed. There are repositories for distributing certificates and revocation information, and policies and practice statements that define how the authority operates and what its certificates mean. Together these form the infrastructure, the combination of technology, processes, and governance that gives certificates their meaning and trustworthiness.

The security of PKI rests on the integrity of the certificate authorities and the protection of their keys, which makes them high-value targets. A compromised certificate authority can issue fraudulent certificates that appear legitimate, enabling impersonation and interception, and real incidents of authority compromise have had serious consequences. This is why authority keys are heavily protected, why the ecosystem includes monitoring such as certificate transparency to detect misissued certificates, and why trust in authorities is itself governed and occasionally withdrawn. PKI distributes trust efficiently, but it also concentrates risk in the authorities at the top.

In practice, PKI is the infrastructure that turns raw asymmetric cryptography into usable, scalable trust by binding public keys to identities through certificates issued and managed by trusted authorities. Its hierarchy of roots and intermediates, its handling of validation and revocation, and its supporting roles and policies are what let strangers and machines trust each other across the internet. Understanding PKI clarifies how the certificates behind HTTPS and other secure systems actually establish who you are talking to, and why the trustworthiness and security of certificate authorities are so critical to the whole edifice.

Learn more in Network Security

Related terms