Public-key infrastructure (PKI) helps people trust the public keys used in digital communication. A public key is useful only if it really belongs to the person, device, or application claiming it. PKI establishes that link through a trusted third party, much like a notary confirms an identity. section 14.2.6
A digital certificate is an electronic document that links a public key to a verified identity—like a digital ID card. A certificate authority (CA) verifies identities, issues certificates, and digitally signs them. That signature helps recipients identify forged or altered certificates. section 14.2.6
Why checking the key matters
Imagine receiving a public key that appears to belong to a coworker. Without a way to verify its owner, an attacker could substitute their own key and impersonate the coworker. A trusted certificate provides evidence that the key belongs to the claimed owner. section 14.2.6
PKI supports secure communication, but it cannot compensate for compromised key management. If an entity responsible for key pairs is compromised, attackers may obtain private keys or forge new ones, allowing them to decrypt messages, impersonate users, or forge signatures. section 14.2.6 section 14.5


