TLS (Transport Layer Security): The foundation of Internet security
What is TLS?
TLS (Transport Layer Security) enables encrypted communication on the Internet. It protects the daily online activities of billions of people, such as online banking, sending emails, and using social media.
TLS is a protocol whose purpose is to enable secure transmission of information over the network. For a detailed specification of the protocol, you can refer to here.

What is the difference between SSL and TLS?
SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are essentially the same thing. Originally developed by Netscape, SSL eventually changed its name to TLS, after which new SSL versions were referred to as TLS. After SSLv3, there was no SSLv3.1 or SSLv4, but TLSv1. SSLv3 was the last version of the protocol called SSL.
The more specific historical reason was that when the security flaws of SSL version three came to light, the IETF took the lead and released TLS 1.0 in 1999, which was essentially SSL 3.1. Since then, TLS has evolved, and today TLS 1.3 is in use, providing improved security and efficiency.

TLS operation principle
The operation of the protocol can be divided into four key phases:
Handshake: At this stage, for example, the browser and server exchange greetings and agree on the encryption algorithm, keys, and other security parameters to be used.
Certificate exchange and verification: The server sends its TLS certificate, which contains the server's public key and is signed by a trusted certificate authority (CA). The browser verifies the authenticity of the certificate.
Encryption negotiation: The parties agree on a symmetric encryption key to be used during the session.
Data transfer: All data to be sent and received is encrypted with the agreed key and transferred securely.
The protocol combines quite a lot of things that have been learned earlier in this course, such as asymmetric encryption, symmetric encryption, cryptographic hash functions, and digital signatures.
We will delve into these deeper soon, but first we need to go through an important matter, namely certificates.
Learn to hack — start here
Hundreds of interactive courses, virtual labs and CTF challenges in your browser. Start a free trial — no card required.