1.4
In progress
Certificate Authorities
Summary
Public key cryptography only works if you can trust that a public key really belongs to the claimed owner. A public key infrastructure (PKI) solves this with certificate authorities that verify identities and sign certificates binding a public key to a name. Browsers and operating systems trust a set of root authorities.
In plain words
A public key alone doesn't prove who owns it. Certificate authorities (CAs) check identities and sign certificates that bind a public key to a name. That system is called PKI.
Detailed explanation
- Public key infrastructure (PKI): The policies, roles, software and hardware used to issue, manage, distribute and revoke digital certificates.
-
Certificate authority (CA): A trusted entity that verifies identities and signs certificates.
- Activities: Validating identity, issuing certificates, publishing revocation information and managing the certificate lifecycle.
- Registration authority (RA): Checks the identity of applicants on the CA's behalf before a certificate is issued.
- Public (third-party) CA: A commercial or nonprofit CA, such as DigiCert, Sectigo or Let's Encrypt, whose root is trusted by browsers and operating systems.
- Private CA: A CA run by an organization for internal use, such as Active Directory Certificate Services; trusted only by devices configured to trust it.
Validation levels for TLS certificates
- Domain validation (DV): Proves control of the domain only.
- Organization validation (OV): Also checks that the organization exists.
- Extended validation (EV): The most thorough check of the organization's legal identity.
Important terms
taken from the text above- Public key infrastructure (PKI)
- The policies, roles, software and hardware used to issue, manage, distribute and revoke digital certificates.
- Certificate authority (CA)
- A trusted entity that verifies identities and signs certificates.
- Registration authority (RA)
- Checks the identity of applicants on the CA's behalf before a certificate is issued.
- Public (third-party) CA
- A commercial or nonprofit CA, such as DigiCert, Sectigo or Let's Encrypt, whose root is trusted by browsers and operating systems.
- Private CA
- A CA run by an organization for internal use, such as Active Directory Certificate Services; trusted only by devices configured to trust it.
- Domain validation (DV)
- Proves control of the domain only.
- Organization validation (OV)
- Also checks that the organization exists.
- Extended validation (EV)
- The most thorough check of the organization's legal identity.
Examples & real-world scenarios
- A public CA issuing a certificate for a bank's website.
- A company's private CA issuing certificates for internal servers.
- CAs revoking certificates that shouldn't be trusted any more.
Scenario
An internal wiki uses a certificate from the company's private CA. Company laptops trust it because IT installed the private root, but visitors' personal phones show a warning, as expected.
Common mistakes
- Thinking a private CA's certificates are trusted by the public. They're trusted only where the private root is installed.
- Forgetting that the CA's job is identity validation, not encrypting your traffic.
Practical skills
- Choose a private or public CA for a given use.
What I should remember
- PKI: The system that binds public keys to verified identities.
- CA: Signs certificates and vouches for the identity in them.
- RA: Verifies applicants' identity for the CA.
- Private CA: Used for internal certificates that public browsers don't need to trust.