Tutorial 3: TLS and Secure Protocols

Unit 2 · Cryptography and key management

Objectives

TLS authenticates the server through certificates, negotiates algorithms, establishes shared session keys, and protects application bytes in transit. Forward secrecy limits the damage of a later long-term key compromise when ephemeral key exchange is used.

client hello -> supported versions and options
server hello + certificate -> selected parameters and identity
key exchange -> authenticated encrypted application data

TLS does not make an authorized request legitimate, protect compromised endpoints, or guarantee that the server's data is correct. Configure modern protocol versions, validate certificates, protect private keys, and avoid custom “encryption” around an already secure protocol without a clear threat model.

Exercises

  1. List what TLS protects and what it leaves exposed.
  2. Explain why hostname validation matters.
  3. Design a policy for disabling obsolete protocol versions.

Self-check

  1. What does TLS authenticate?
  2. What is forward secrecy?
  3. Does TLS authorize a user?

Self-Check Quiz

1. What is encrypted by TLS?

AnswerApplication data carried after the handshake, along with protocol protections for integrity and confidentiality in transit.

2. Why validate a hostname?

AnswerTo ensure the certificate identity matches the service the client intended to contact.

Homework

  1. Review a TLS configuration against a written security policy.
  2. Draw a handshake trust sequence.
  3. Explain one endpoint threat TLS cannot solve.
Sample answerTLS protects transit but cannot stop a malicious authorized user, compromised browser, vulnerable server application, or incorrect database permission. A review checks current protocol and cipher policy, certificate identity and expiry, private-key protection, redirects, and monitoring.