Public keys are only useful if you know whose they are. A criminal can make a key pair and claim it belongs to your bank. Certificates solve this.
Whose public key is this?
If an attacker can hand you their own public key labelled “your bank”, you would encrypt to the attacker and accept signatures they made. The key itself says nothing about its owner.
Certificates
- 1Root certificate authority
- 2Intermediate certificate authority
- 3Certificate for results.college.example
- 4Your browser checks every link
Your browser receives a public key that claims to belong to results.college.example. How can it know the claim is true? A certificate is a statement, signed by someone the browser already trusts, that ties a name to a public key.
A chain of trust
Your browser trusts a short list of root authorities, built in by its maker. Everything else is trusted only because a chain of signatures leads back to one of them. If a certificate is for a different name, has expired, or does not lead back to a trusted root, the browser warns you. An authority that has been withdrawn, or a single certificate that was issued wrongly, can be marked as revoked.
SIGN-2 counts as completed once you step through the figure to its last step.