ssl/tls
SSL (Secure Sockets Layer) e seu sucessor TLS (Transport Layer Security) são protocolos criptográficos projetados para fornecer comunicação segura em uma rede de computadores.
Os protocolos SSL/TLS estabelecem um link criptografado entre um servidor web e um navegador web. Isso garante que todos os dados transmitidos entre eles permaneçam privados e íntegros. TLS é a versão atualizada e mais segura do SSL, embora os termos sejam frequentemente usados de forma intercambiável. Eles usam técnicas criptográficas como criptografia, autenticação e verificações de integridade para proteger os dados em trânsito, tornando difícil para os invasores espionarem ou adulterarem as comunicações. Os protocolos são essenciais para proteger transações online, proteger informações confidenciais e estabelecer confiança entre usuários e sites.
graph LR
Center["ssl/tls"]:::main
Pre_logic["logic"]:::pre --> Center
click Pre_logic "/terms/logic"
Rel_data_privacy["data-privacy"]:::related -.-> Center
click Rel_data_privacy "/terms/data-privacy"
Rel_encryption["encryption"]:::related -.-> Center
click Rel_encryption "/terms/encryption"
Rel_saas_software_as_a_service["saas-software-as-a-service"]:::related -.-> Center
click Rel_saas_software_as_a_service "/terms/saas-software-as-a-service"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Teste de conhecimento
🧒 Explique como se eu tivesse 5 anos
SSL/TLS is like a secret handshake and a locked box for your internet messages, making sure only the right people can send and receive them, and that no one can peek inside or change the message while it's traveling.
🤓 Expert Deep Dive
The TLS handshake is a complex multi-step process. Key exchange mechanisms are critical: RSA key exchange is vulnerable to passive eavesdropping if the server's private key is compromised later (due to lack of forward secrecy), whereas ephemeral Diffie-Hellman (DHE/ECDHE) provides forward secrecy. Certificate validation involves checking the certificate chain up to a trusted root Certificate Authority (CA), verifying expiration dates, and matching the hostname. Cipher suites define the combination of algorithms used (key exchange, symmetric [encryption](/pt/terms/symmetric-encryption), MAC). TLS 1.3 significantly streamlines the handshake (reducing round trips) and removes obsolete/insecure ciphers, enhancing both security and performance. Vulnerabilities have historically stemmed from implementation flaws (e.g., Heartbleed), weak cipher suites (e.g., RC4, MD5), or protocol weaknesses (e.g., POODLE). Proper certificate management and timely protocol upgrades are essential for maintaining security.