Skip to the content
Start free

Transport Layer Security (TLS)

Transport Layer Security (TLS) is the encryption protocol that lets a browser, app or bot talk to a website privately, proving the site is who it claims to be and stopping anyone in between from reading or changing the data. It is the “S” in HTTPS and the reason a padlock shows in the address bar. The older name SSL is still used, but the protocol in use today is TLS.

What is TLS? #

When you open a page, your device and the server swap data across many networks you do not control. TLS wraps that conversation in encryption. MDN’s guide to Transport Layer Security describes it as a protocol that lets a client talk securely to a server across an untrusted network, and says that when it secures HTTP the result is called HTTPS.

MDN lists 3 things TLS gives you:

  • Encryption: data is scrambled while it travels.
  • Integrity: nobody can quietly alter it on the way.
  • Authentication: each side can prove its identity. For websites, that proof is the SSL certificate.

Which version should a site use? #

TLS 1.3, with 1.2 as a fallback. The IETF published TLS 1.3 as RFC 8446 in August 2018. In July 2026 it published RFC 9846, a minor update that keeps the same version number, stays backward compatible, and replaces RFC 8446 as the TLS 1.3 standard.

Older versions are retired. RFC 8996 (March 2021) says TLS 1.0 and TLS 1.1 must not be used. MDN agrees: 1.3 is current and the most widely used, 1.2 is still found on some sites, and 1.1 and 1.0 should no longer be used.

Version Status in November 2026
SSL 2.0 and 3.0 Long gone; do not enable
TLS 1.0 and 1.1 Deprecated by RFC 8996; must not be used
TLS 1.2 Still in use as a fallback
TLS 1.3 Current; RFC 9846 (July 2026)

How does it work? #

Every secure visit starts with a short exchange called the handshake:

  1. The client says hello and lists the versions and cipher suites it supports. MDN explains that a cipher suite sets the methods for key agreement, authentication, encryption and message checks.
  2. The server picks one and sends its certificate.
  3. The client checks the certificate is valid, in date and issued for that exact name, including any subdomain.
  4. Both sides agree a secret key, and the real request begins.

TLS 1.3 made this faster and safer. RFC 8446 lists the big changes: static RSA and Diffie-Hellman key exchange were removed, so every key exchange now gives forward secrecy; all handshake messages after the server’s hello are encrypted; legacy algorithms were cut; and an optional zero round trip mode was added that saves time at the cost of some security. Fewer round trips means a quicker start, which helps time to first byte and overall page speed.

On many sites the TLS connection ends at a CDN or web application firewall near the visitor, which then fetches from the origin server. That hop should be encrypted too.

Google confirmed HTTPS as a ranking signal on 7 August 2014. Its post HTTPS as a ranking signal called it very lightweight, affecting fewer than 1% of global queries at launch, and weaker than signals such as high-quality content. So it is a small ranking factor, not a shortcut.

The bigger effect is on which address Google keeps. Its guide to consolidating duplicate URLs says Google prefers HTTPS pages over equal HTTP pages as canonical, with exceptions such as an invalid certificate, insecure resources other than images, or an HTTPS page that redirects to HTTP. Broken TLS can push Google back to the wrong version of your page. Our canonical tag and HTTPS vs HTTP pages go deeper.

Visitors notice too. Browsers warn loudly about expired or mismatched certificates, and most people leave.

Why does it matter for AI answers? #

AI assistants fetch pages the same way browsers do, over HTTPS. If the handshake fails because a certificate has expired, the name does not match, or the server only offers an old version, the fetch gets no page at all. An AI crawler such as GPTBot, or a live fetcher answering a user’s question, simply moves on to another source. Working TLS is part of basic crawlability for every bot, including Googlebot.

Common mistakes #

  • Letting the certificate expire. Set automatic renewal and a reminder.
  • A certificate that covers the bare domain but not “www”, or the reverse.
  • Mixed content: an HTTPS page loading scripts or styles over HTTP.
  • No redirect from HTTP to HTTPS, or a chain of several hops. MDN recommends a 301; see 301 vs 302.
  • Leaving TLS 1.0 or 1.1 switched on “for old devices”.
  • Skipping HSTS. MDN says the Strict-Transport-Security header tells browsers to use HTTPS directly on later visits, which blocks SSL stripping attacks.

A worked example #

A florist moves to a new platform. Pages load, but Search Console shows both HTTP and HTTPS addresses indexed, and a few product pages show a browser warning.

We test the site. The certificate covers “www” but not the bare domain. HTTP pages answer 200 instead of redirecting. Product images load over HTTP. The fix: issue a certificate for both names, add a single 301 from every HTTP address to its HTTPS twin, update image links to HTTPS, and add an HSTS header once everything works. The plan follows our move a website without losing traffic checklist.

How to check it #

  1. Click the padlock in your browser and read the certificate’s name and expiry date.
  2. Check the HTTP to HTTPS hop with our redirect checker: it should be 1 step, a 301.
  3. Look for the Strict-Transport-Security header with our HTTP header checker.
  4. Our SSL checker and security headers checker are live now.
  5. Read the HTTPS report in Search Console for pages Google could not serve securely.

Sources #

Updated 24 November 2026 by URSY.

Cite this page: Transport Layer Security (TLS). URSY. Updated 24 November 2026. https://ursy.com/wiki/transport-layer-security-tls/ · Section links

Tools for this

All 871 wiki entries, A to Z →