Lesson 1 · Unit 04
TLS
What HTTPS protects, how certificates build trust, what the padlock leaves out
What you practise
- What HTTPS protects (reading, tampering, impersonation), certificates and the chain of trust, the handshake in outline, public key to agree and symmetric key to talk, what a padlock does not promise
Try a question from this lesson
Pick one
On open café Wi-Fi, anyone nearby can capture your packets. You log in to a site over plain http://. What can an eavesdropper read?
Correct answer
Everything: the URL, the headers and your password
Why
HTTP is plain text all the way down. Whoever can see the packets (the café, its internet provider, anyone on the same Wi-Fi) can read every byte, including the body of your login request.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Three promises
HTTPS is ordinary HTTP sent through TLS, a layer slipped in between HTTP and TCP.
TLS promises that nobody on the path can read the traffic, that nobody can change it unnoticed, and that the server really is the site in the address bar. Lose any one and the other two are worth little.
HTTP request and response
TLS encrypt, check, identify
TCP reliable streamConcept
Two kinds of keys
Public-key cryptography lets two strangers agree on a secret over a line everyone can hear, and lets a server prove who it is. It is also slow.
So TLS uses it only in the handshake: the two sides swap key shares and derive the same session key. All the data afterwards is encrypted with that fast shared key.
10 more exercises in the app
- 1× match the pairs
- 5× multiple choice
- 1× fill the blanks
- 1× order the lines
- 1× true or false
- 1× type the answer
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.