RFC 5246: TLS 1.2: Encrypted transport connections

Summary

In August 2008, Tim Dierks and Eric Rescorla published the specification of TLS 1.2 in RFC 5246, which carried encrypted communication on the web for over a decade. Compared with TLS 1.1, it replaced the fixed combination of MD5 and SHA-1 with negotiable hash algorithms and added authenticated encryption such as AES-GCM. Its flexibility made it long-lived but also vulnerable to attacks on weak options, which were only switched off step by step.

What TLS 1.2 changed

RFC 5246 lists the main changes itself: the pseudorandom function now depends on the cipher suite, and all suites in the document use SHA-256. Signatures explicitly state which hash was used, and client and server can specify which signature and hash algorithms they accept. Support for AEAD modes, which combine encryption and integrity protection, is new.

Mandatory for every implementation was the suite TLS_RSA_WITH_AES_128_CBC_SHA. It uses static RSA key exchange without forward secrecy and CBC encryption, two properties that later became among the main attack surfaces.

A decade of fixes

The list of updating RFCs reads like a history of attacks: RFC 5746 closed the renegotiation hole in 2010, RFC 7465 banned RC4 in 2015, and RFC 7627 introduced the extended master secret against triple handshake attacks in 2015. RFC 7457 summarised the known attacks in 2015.

TLS 1.3 from RFC 8446 cleaned up fundamentally in 2018. In July 2026, RFC 9846 formally declared TLS 1.2 obsolete together with RFC 8446; in operation, however, TLS 1.2 with secure suites remains widespread because many devices speak nothing else.

Ideas

  • Cipher suites define key exchange, encryption and hash together.
  • Signatures name their hash explicitly.
  • AEAD modes such as AES-GCM combine encryption and integrity.
  • Extensions allow new features without a new protocol version.
  • Static RSA key exchange offers no forward secrecy.
  • Weak options must be actively switched off.

Insights

  • Negotiable cryptography makes a protocol long-lived but shifts security into the configuration of every single server.
  • Most known TLS attacks hit optional or outdated parts, not the core; that argues for lean standards with few choices.

Facts

  • RFC 5246 appeared in August 2008 and replaces RFC 4346 (TLS 1.1).
  • All cipher suites in the document use P_SHA256 as pseudorandom function.
  • RFC 7465 banned RC4 in 2015, and RFC 8996 deprecated TLS 1.0 and 1.1 in 2021.
  • RFC 9846 from July 2026 declares RFC 5246 and RFC 8446 obsolete.

References

Remarks

  • bk99.de has a separate post on RFC 9846, the revised TLS 1.3 from July 2026.

Recommendations

  • Offer TLS 1.2 only with ECDHE key exchange and AEAD suites such as AES-GCM or ChaCha20-Poly1305.
  • Switch off TLS 1.0, TLS 1.1 and RC4 completely.
  • Check server configurations regularly with testssl.sh or a comparable tool.

Read the RFC at the RFC Editor

Search the Web Archive

Found a mistake or have something to add? Get in touch.