TLS Flashcards

Learn about what TLS is and how it works

1
Q

What is TLS?

A

TLS is a widely adopted security protocol designed to facilitate privacy and data security for communications over the internet.

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

What does TLS achieve?

A

TLS achieves:
- Encryption: hides the data being transferred from third parties
- Authentication: ensures that the parties exchanging information are who they claim to be
- Integrity: verifies that the data has not been forged or tampered with

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

How is a TLS connection initiated?

A

A TLS connection is initiated using a TLS handshake.

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

What are the steps to a TLS handshake?

A

The steps to a TLS handshake are:
- Client hello
- Server generates master secret
- Server hello and finished
- Final steps and client finished

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

What is the client hello?

A

The client sends a hello message with the protocol version, the client random and a list of cipher suites, the client hello also includes the parameters that will be user for generating the master key.

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

What does it mean when the server generates the master secret?

A

It means that the server has received the client random and the clients parameters and cipher suite. It already has the server random since the server can generate that on its own. Therefore the server can create the master secret.

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

What is the server hello and finished?

A

The server hello includes the servers certificate, digital signature, server random and chosen cipher suite. Because it already has the master secter it also sends a finished message.

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

What are the final steps and client finished?

A

The client verifies the signature and certificate, generates master secret and sends the finished message.

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

What is a cipher suite?

A

A set of cryptographic algorithms used to secure network connections over TLS.

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

What is a pre-master secret?

A

A randomly generated secret generated by the client and used by the server to create the master secret.

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

What is the master secret?

A

The master secret is a function of the client and server randoms that were previously exchanged between the client and server during the handshake stage.

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

What is the pre-master secret?

A

The pre-master secret is a secret value generated by the client during the handshake, used to derive the master secret.

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

What is the master secret used for?

A

The master secret is used to generate the session key.

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