Skip to content

SSL/TLS

一句话解释

SSL/TLS 是 encryption protocol 那个 secures communication 之间浏览器 and 服务器, 启用 HTTPS.

用大白话说

SSL (Secure Sockets Layer) and its successor TLS (Transport Layer Security) are cryptographic protocols that encrypt data between a client and server. When you see "HTTPS://" and the padlock icon in your browser, TLS is encrypting the connection.

TLS works by: the server presenting a certificate (proving its identity), the client and server negotiating encryption keys, and then all subsequent communication being encrypted. This prevents eavesdropping, tampering, and forgery.

SSL is the older, now-deprecated protocol. TLS is the current standard (TLS 1.2 and 1.3). In practice, people still say "SSL certificate" even though they mean TLS. Modern browsers require HTTPS for many features (geolocation, camera, service workers) and flag non-HTTPS sites as "不 Secure".

示例

text
1. Browser connects to server on port 443
2. Server sends its TLS certificate (public key)
3. Browser verifies the certificate with a CA
4. Both sides negotiate a shared encryption key
5. All data is encrypted for the session

TLS handshake 处理: certificate exchange, verification, 键 negotiation, 然后 encrypted communication.

相关术语

相关资源

相关课程

解读错误信息

用大白话解释常见错误——什么意思、为什么发生、如何修复。

查看错误

← 返回术语表