SSL vs TLS: what the difference actually is

9 min readUpdated

SSL and TLS are two generations of one protocol, and TLS is the successor. TLS 1.0 is based on the SSL 3.0 specification published by Netscape; RFC 2246 calls the differences "not dramatic", but large enough that TLS 1.0 and SSL 3.0 do not interoperate [1]. SSL 2.0 and SSL 3.0 are now forbidden [6] [4], and the word SSL lives on in "SSL certificate", library names and settings. Both names share one entry in the SSL and TLS glossary. HTTPS is HTTP carried over this layer, whichever name it goes by; see what HTTPS is and how it works.

SSL
Secure Sockets Layer; SSL 3.0 is published as a historical record in RFC 6101 [2]
TLS
Transport Layer Security, the IETF standard built from SSL 3.0 [1]
Status of SSL
SSL 2.0 and SSL 3.0 must not be negotiated, by RFC 9846 and RFC 7568 [6] [4]
TLS versions still allowed
TLS 1.2 and TLS 1.3; RFC 9846 forbids negotiating TLS 1.0 and TLS 1.1, details on TLS versions [6]
"SSL certificate"
the same X.509 certificate as a "TLS certificate", with no protocol version in it [7] [16]

How SSL became TLS

SSL came from Netscape, and the IETF took it on as a standard under a new name. RFC 2246 defines TLS 1.0 on the basis of the SSL 3.0 specification, and the Netscape patent statement printed in the same document says that "the IETF is currently considering adopting SSL" [1]. SSL 3.0 itself entered the RFC series as a Historic document: RFC 6101 publishes it "as a historical record of the SSL 3.0 protocol" [2].

The later versions present themselves as small steps. RFC 4346 calls the TLS 1.1 version value historical, because TLS 1.1 is "a minor modification to the TLS 1.0 protocol, which was itself a minor modification to the SSL 3.0 protocol, which bears the version value 3.0" [3]. So the version value sent on the wire continues from SSL 3.0 instead of starting again.

RFC 7568 gives the year of the switch: TLS 1.0 replaced SSL 3.0 in 1999. The replacement versions were not available everywhere, and as a result many TLS implementations kept permitting SSL 3.0 [4]. Closing that door took separate documents: RFC 6176 for SSL 2.0 and RFC 7568 for SSL 3.0 [5] [4].

What changed from SSL to TLS

The protocols differ in the parts that later broke SSL. RFC 7568, the document that forbids SSL 3.0, lists them [4]:

  • Record protection. The padding in SSL 3.0's CBC mode is non-deterministic and "trivially permits the recovery of plaintext", the POODLE attack. Of its stream ciphers, only RC4 was in widespread use, and RC4 is no longer fit for use. TLS versions replaced the MAC-then-encrypt construction behind the CBC flaw, and the fix relies on extensions, which SSL 3.0 does not support.

  • Key exchange. SSL 3.0 is open to man-in-the-middle attacks when renegotiation or session resumption is used. TLS fixed both flaws by means of extensions.

  • Building blocks. SSL 3.0 defines its own constructions for the pseudorandom function, the message authentication code and signatures, all of them relying on SHA-1 and MD5. TLS 1.0 uses the standard HMAC construction for its keyed MAC [1].

  • Features. SSL 3.0 does not support ClientHello extensions and cannot benefit from the modes and features added to TLS later, among them AEAD modes, ECDH and ECDSA, session tickets and application-layer protocol negotiation.

SSL 2.0 had been prohibited for its own reasons. RFC 6176 names MD5 for message authentication, handshake messages that are not protected, the same key for integrity and encryption, and sessions that a man-in-the-middle can end with a TCP FIN [5].

Why everyone still says "SSL certificate"

The old name could stay because a certificate has no protocol version in it. It is an X.509 certificate, and the only version field in it is the X.509 version, which RFC 5280 sets to 3 when extensions are used [7]. TLS 1.3 sends the same X.509v3 type unless the two sides negotiate another one [6]. The CA/Browser Forum titles its Baseline Requirements for "Publicly-Trusted TLS Server Certificates" [8].

Asking for an "SSL certificate" and a "TLS certificate" gets you the same thing; see what a certificate contains. In our test one certificate served a TLS 1.2 and a TLS 1.3 connection with the same SHA-256 fingerprint, and its text dump showed Version: 3 (0x2) and no line with the word SSL or TLS [16]. An app that pins a certificate checks the certificate's key, or the certificate itself, against a copy it carries.

Where "SSL" still appears

In software names and switches. OpenSSL describes itself as a toolkit implementing the Secure Sockets Layer and Transport Layer Security protocols, and its library manual page is named "OpenSSL SSL/TLS library" [9]. Python's ssl module provides access to "Transport Layer Security (often known as 'Secure Sockets Layer')" [10]. Server directives keep the word in the name and take protocol versions such as TLSv1.2 as values: nginx has ssl_protocols, and Apache describes SSLProtocol as the directive to "Configure usable SSL/TLS protocol versions" [12] [13].

Old SSL switches can fail or do nothing. The OpenSSL manual warns that not all protocols may be available, depending on how OpenSSL was built [9]. The curl manual says --sslv3 "previously asked curl to use SSLv3, but is now ignored" [11]. Error text keeps it as well: in our test OpenSSL reported a TLS version mismatch under SSL routines, as tlsv1 alert protocol version [16]. What each browser and tool code means is on SSL errors.

What the tools print

Where "SSL" still appears
CommandOutput in our test
openssl s_client -tls1_2an SSL-Session: block with Protocol : TLSv1.2
openssl s_client -tls1_3an SSL-Session: block with Protocol : TLSv1.3; the certificate fingerprint matches the TLS 1.2 run
openssl x509 -textVersion: 3 (0x2); no line contains SSL or TLS
openssl s_client -ssl3s_client: Unknown option: -ssl3, exit code 1
curl --sslv3SSL connection using TLSv1.3, HTTP 200
Python ssl.HAS_SSLv3False

The labels in this table say SSL, and every connection in it ran TLS. The runs used OpenSSL 3.0.13, curl 8.5.0 and Python 3.14.4 on Linux, against a www.example.com certificate from our own test root [16].

What SSL/TLS means in mail settings

The setting picks when encryption starts, not a protocol version. Thunderbird, for example, offers None, STARTTLS and SSL/TLS under "Connection security". In its source code, SSL/TLS is "Connect via SSL. Needs special SSL port." and STARTTLS is "Insist on TLS via STARTTLS. Uses normal port." [14]

RFC 8314 calls the first mode Implicit TLS: on the submissions port 465 or the imaps port 993, "a TLS handshake begins immediately". With STARTTLS, client and server negotiate TLS on a connection that started in cleartext. RFC 8314 recommends Implicit TLS for mail submission and mail access [15].

SSL and TLS versions today

After SSL 3.0 came TLS 1.0, 1.1, 1.2 and 1.3 [4] [6]. Besides SSL, RFC 9846 forbids negotiating TLS 1.0 and TLS 1.1 [6], which leaves TLS 1.2 and TLS 1.3. What TLS 1.3 changed, whether TLS 1.2 is still safe and how to check and set the versions a server accepts are covered on TLS versions.

FAQ

What is the difference between SSL and TLS?

TLS is the successor of SSL. TLS 1.0 is based on SSL 3.0 but does not interoperate with it, and later TLS versions changed the parts that broke SSL: record protection, key exchange and the cryptographic building blocks. SSL 2.0 and SSL 3.0 are now forbidden. [1] [4] [6]

Is SSL the same as TLS?

In everyday speech the two words name the same protocol. Technically TLS is the successor of SSL, and SSL 2.0 and SSL 3.0 must not be negotiated. [10] [6]

Is SSL still used?

It must not be. SSL 3.0 is deprecated by RFC 7568, which says it MUST NOT be used, and RFC 9846 forbids negotiating SSL 2.0 or SSL 3.0 for any reason. The name survives in product names, command options and settings. [4] [6] [9]

Is an SSL certificate a TLS certificate?

Yes. It is an X.509 certificate with no protocol version in it, and the same certificate works over TLS 1.2 and TLS 1.3. [7] [16]

What does SSL/TLS mean in email settings?

It means Implicit TLS: the TLS handshake begins as soon as the connection opens, on a dedicated port. STARTTLS upgrades a connection that started in cleartext. Neither setting picks a protocol version. [14] [15]

When did TLS replace SSL?

With TLS 1.0, which RFC 7568 dates to 1999. SSL 3.0 is now forbidden by RFC 7568, and SSL 2.0 by RFC 6176. [4] [5]

Which TLS version should a server support?

TLS 1.2 and TLS 1.3. RFC 9846 forbids negotiating SSL 2.0, SSL 3.0, TLS 1.0 and TLS 1.1; the details are on the TLS versions page. [6]

The protocol is covered under TLS and forward secrecy; certificates under certificates, and the public record of their issuance under certificate transparency logs. SSH, a separate protocol with a similar name, is compared on the page about how SSL and SSH differ. The rest of the vocabulary is in this glossary.

Sources

  1. RFC 2246, TLS 1.0: §3, §5, Appendix G.

  2. RFC 6101, SSL 3.0 (Historic): abstract, status of this memo.

  3. RFC 4346, TLS 1.1: §6.2.1.

  4. RFC 7568, Deprecating SSL 3.0: §1, §3, §4.1–§4.3, §5.

  5. RFC 6176, Prohibiting SSL 2.0: abstract, §2.

  6. RFC 9846, TLS 1.3: §1.2, §4.5.1.2, Appendix E.5.

  7. RFC 5280, X.509 profile: §4.1.2.1.

  8. CA/Browser Forum Baseline Requirements for the Issuance and Management of Publicly-Trusted TLS Server Certificates: title, §1.1.

  9. OpenSSL 3.0 manual: openssl(1) (description, TLS Version Options), ssl(7).

  10. Python documentation: ssl, TLS/SSL wrapper for socket objects.

  11. curl manual: --sslv3.

  12. nginx: ngx_http_ssl_module, ssl_protocols.

  13. Apache HTTP Server 2.4, mod_ssl: SSLProtocol.

  14. Thunderbird source (comm-central): accountSetup.ftl, messenger.properties, MailNewsTypes2.idl (nsMsgSocketType).

  15. RFC 8314, Cleartext Considered Obsolete: Use of TLS for Email Submission and Access: §1, §2, §3.2, §3.3.

  16. Our runs: OpenSSL 3.0.13, curl 8.5.0 and Python 3.14.4 on Linux, localhost, a www.example.com test certificate from our own lab root.