TLS and SSL Flashcards

1
Q

What are SSL and TLS designed for?

A

SSL and TLS are as cryptographic protocols designed to facilitate secure communication over networks

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

Which is the predecessor of which

A

SSL is the predecessor of TLS

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

Describe SSL

A

SSL, or Secure Sockets Layer, is an encryption-based Internet security protocol.

It was developed for the purpose of ensuring privacy, authentication, and data integrity in Internet communications.

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

What is an SSL/TLS Certificate

A

An SSL/TLS certificate is a digital credential that facilitates secure communication between systems over the internet using the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocol.

It serves as a digital identity card, allowing systems to verify each other’s identity and establish encrypted connections.

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

What is included in an SSL/TLS Certificate

A

The domain name
Certificate authority
Issuance date
Expiration date
Public key
SSL/TLS version
Certificate authority’s digitical signature

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

Why are the certificates important

A
  1. Crucial for establishing trust and security
  2. Encrypt data transmitted between clients and servers
  3. Protect sensitive information from hackers.
  4. Provide visual cues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are key principles in SSL/TLS

A
  1. Encryption,
  2. Authentication
  3. Digital Signature
  4. Asymmetric cryptography
  5. Public key Infrasture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a TLS Handshake

A

A TLS handshake is the process that kicks off a communication session that uses TLS.

During a TLS handshake, the two communicating sides exchange messages to acknowledge each other, verify each other, establish the cryptographic algorithms they will use, and agree on session keys.

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

Describe the TLS Handshake

A

Client’s Request:

Client initiates handshake
Sends message with supported cryptographic algorithms and parameters
Server’s Response:

Server responds with selected cryptographic algorithms and parameters
Provides digital certificate if required
Authentication and Key Exchange:

Client verifies server’s digital certificate
Sends its own certificate if needed
Both agree on cryptographic keys for encryption and decryption
Session Keys:

Establish cryptographic keys
Securely encrypt and decrypt data ensuring confidentiality and integrity
Handshake Completion:

Session keys in place
Secure data exchange begins over the encrypted connection

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

What Java Extensions can be used as a framework for SSL/TLS

A

The Java Secure Socket Extension (JSSE) enables secure Internet communications. It provides a framework and an implementation for a Java version of the SSL and TLS protocols

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

What is a keystore

A

Keystore: A keystore is a repository of security certificates, typically containing private keys and corresponding certificates for authentication.

In the context of SSL/TLS communication, the server’s private key and its associated certificate are stored in a keystore. Keystores are protected by a password.

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

What is a trustore

A

Truststore: A truststore is a repository of certificates used to verify the authenticity of certificates presented by other parties in SSL/TLS connections.

It contains trusted certificates from trusted Certificate Authorities (CAs) or self-signed certificates that the application trusts.
Truststores are used by clients to verify the identity of servers in SSL/TLS connections.

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