Securing Internet Communication: TLS
CS 161: Computer Security
- Prof. Haojin
Materials adopted from Prof. David Wagner
2018
Securing Internet Communication: TLS CS 161: Computer Security - - PowerPoint PPT Presentation
Securing Internet Communication: TLS CS 161: Computer Security Prof. Haojin Materials adopted from Prof. David Wagner 2018 Todays Lecture Applying crypto technology in practice Two simple abstractions cover 80% of the use cases
2018
What’s missing?
“Premaster Secret” PS
Amazon’s public RSA key KAmazon
server derive symm. cipher keys (CB, CS) & MAC integrity keys (IB, IS)
– One pair to use in each direction
PS PS
“Premaster Secret” PS
Amazon’s public RSA key KAmazon
server derive symm. cipher keys (CB, CS) & MAC integrity keys (IB, IS)
– One pair to use in each direction
PS PS
“Premaster Secret” PS
Amazon’s public RSA key KAmazon
server derive symm. cipher keys (CB, CS) & MAC integrity keys (IB, IS)
– One pair to use in each direction
computed over entire dialog so far
encrypted w/ symmetric cipher (e.g., AES128) cipher keys, MACs
– Sequence #’s thwart replay attacks
PS PS
generates random a, sends public params and ga mod p
computes PS = gab mod p, sends to server
RB, and RS, browser & server derive symm. cipher keys (CB, CS) and MAC integrity keys (IB, IS), etc
PS PS …
different public/private key pair, say from Verisign
= assuming didn’t lose private key; assuming didn’t sign thoughtlessly
. ‘
. ‘
(note: an actual Windows error message!)