6 Transport Layer Security

This chapter covers

  • Resisting man-in-the-middle attacks
  • Understanding the Transport Layer Security handshake
  • Building, configuring, and running a Django web application
  • Installing a public-key certificate with Gunicorn
  • Securing HTTP, email, and database traffic with Transport Layer Security

In the previous chapters, I introduced you to cryptography. You learned about hashing, encryption, and digital signatures. In this chapter, you’ll learn how to use Transport Layer Security (TLS), a ubiquitous secure networking protocol. This protocol is an application of data integrity, data authentication, confidentiality, and nonrepudiation.

After reading this chapter, you’ll understand how the TLS handshake and public-key ...

Get Full Stack Python Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.