Week 11: TLS Flashcards
What are the phases of a TLS handshake?
- Security Capabilities
- Authentication and Public-key Exchange
- Key Exchange/Derivation
- Finished
What messages are sent in TLS Phase 1: Security Capabilities?
Client sends: Client_Hello
- includes list of ciphersuites supported
- session ID
Server sends: Server_Hello
- selects ciphersuite
- session ID
What messages are sent in TLS Phase 2: Authentication and Public-key exchange?
Server sends: certificate
- certifying public key is indeed from server
Server sends: server_key_exchange (optional)
- server’s public key
Server sends: certificate_request (optional)
- if server needs to verify client
Server sends:
server_hello_done (optional)
- messages are done
How many messages does client send during TLS Phase 2: Authentication and Public-key Exchange?
0
What messages are sent in TLS Phase 3: Key Exchange/Derivation?
Client sends: certificate (optional)
- if requested by server
Client sends: client_key_exchange
- client’s pre-master-secret
Client sends: certificate verify (optional)
- if certificate is verified
How many messages does client send during TLS Phase 3: Key Exchange/Derivation?
1-3
What messages are sent in TLS Phase 4: Finished?
Client sends: change_cipher_spec
- says let’s use master symmetric key
Client sends: finished
Server sends same messages back