Week 11: TLS Flashcards

1
Q

What are the phases of a TLS handshake?

A
  1. Security Capabilities
  2. Authentication and Public-key Exchange
  3. Key Exchange/Derivation
  4. Finished
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What messages are sent in TLS Phase 1: Security Capabilities?

A

Client sends: Client_Hello

  • includes list of ciphersuites supported
  • session ID

Server sends: Server_Hello

  • selects ciphersuite
  • session ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What messages are sent in TLS Phase 2: Authentication and Public-key exchange?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many messages does client send during TLS Phase 2: Authentication and Public-key Exchange?

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What messages are sent in TLS Phase 3: Key Exchange/Derivation?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many messages does client send during TLS Phase 3: Key Exchange/Derivation?

A

1-3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What messages are sent in TLS Phase 4: Finished?

A

Client sends: change_cipher_spec
- says let’s use master symmetric key

Client sends: finished

Server sends same messages back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly