TLS Process Flashcards
How many round trips does TLS 1.2 make?
2 - which is 4 steps total
How many round trips does TLS 1.3 make?
1 - which is 2 steps total
What is sent in the Client Hello message?
- TLS version
- A 28-byte random number (Client Random)
- A list of cipher suites.
After receiving the client hello, what does the server do to prepare for the “Server Hello”?
The server checks, and sends back the following things:
- Server side chooses the version of TLS
- Generates a server random
- Choose a preferred cipher suite
- Sends the Server Key Exchange (1 part of the pre-master secret)
- AND It adds a digitally signed server certificate (public key)
Then it sends the Server HELLO DONE
After the client receives the Server Hello message with the Server Hello Done, what happens next?
The client sends a message back with:
- Client key exchange (1 part of the pre-master secret)
- Change Cipher Spec (i have all necessary information to begin encryption, next message will be encrypted)
- Finished message (summary of all the messages so far, encrypted with the newly created key)
The master secret is created using the server + client randoms along with the pre-master (independently) from each other
After the Server receives the Change cipher spec - Finished message from client. What happens next?
Server responds with message:
Change Cipher Spec Finished message (summary of all the messages so far, encrypted with the newly created key)
How is the pre-master created?
Using the Server Key Exchange params AND the Client Key Exchange params
How is the Master Secret created?
Client Random + Server Random + Pre-master = Master Secret
What is sent in the Client Hello message? (3)
- TLS version
- A 28-byte random number (Client Random)
- A list of cipher suites.
After receiving the client hello, what does the server do to prepare for the “Server Hello”? (6)
The server checks, and sends back the following things:
- Server side chooses the version of TLS
- Generates a server random
- Choose a preferred cipher suite
- Sends the Server Key Exchange (1 part of the pre-master secret)
- AND It adds a digitally signed server certificate (public key)
Then it sends the Server HELLO DONE
After the client receives the Server Hello message with the Server Hello Done, what happens next? (3)
The client sends a message back with:
- Client key exchange (1 part of the pre-master secret)
- Change Cipher Spec (i have all necessary information to begin encryption, next message will be encrypted)
- Finished message (summary of all the messages so far, encrypted with the newly created key)
The master secret is created using the server + client randoms along with the pre-master (independently) from each other
After the Server receives the Change cipher spec - Finished message from client. What happens next? (2)
Server responds with message:
Change Cipher Spec Finished message (summary of all the messages so far, encrypted with the newly created key)