All guides
Home Glossary SSL/TLS
Term

SSL/TLS

Cryptographic protocols designed to provide secure communication and data integrity between a client and a server over a network.

SSL/TLS (Secure Sockets Layer and its successor, Transport Layer Security) refers to cryptographic protocols designed to provide secure communication, authentication, and data integrity between a client and a server over a network. These protocols form the security foundation for HTTPS, preventing unauthorized parties from eavesdropping on or tampering with traffic in transit. While SSL is completely deprecated due to critical vulnerabilities, the combined term remains the standard industry shorthand for modern TLS implementations.

How it works

TLS secures network connections through three fundamental mechanisms: encryption to obfuscate data from intermediaries, authentication to verify server identity via digital certificates issued by a trusted Certificate Authority (CA), and integrity via Message Authentication Codes (MAC) to detect packet modification.

Every encrypted session begins with a TLS Handshake:

  1. Negotiation: The client and server agree on the highest supported protocol version (TLS 1.2 or TLS 1.3) and a mutually supported cipher suite.
  2. Verification: The server presents its X.509 digital certificate, which the client validates against its local trust store.
  3. Key Exchange: Using asymmetric cryptography (such as Elliptic Curve Diffie-Hellman), both parties securely establish a shared symmetric session key.
  4. Encrypted Transfer: Subsequent application data is encrypted with the fast symmetric session key.

Modern infrastructure relies primarily on TLS 1.3, which reduces latency by completing the handshake in a single round-trip (1-RTT) and removes legacy cryptographic algorithms susceptible to downgrade attacks.

Example

When configuring a reverse proxy like Nginx to serve encrypted web traffic, administrators explicitly enforce modern protocol versions and strong cipher suites. A typical server block configuration looks like this:

server {
    listen 443 ssl;
    server_name example.com;

    ssl_certificate /etc/letsencrypt/live/https://example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/https://example.com/privkey.pem;

    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_prefer_server_ciphers off;
}

For teams managing virtual private servers manually, following a structured walkthrough on how to set up SSL on a VPS helps ensure proper certificate chains and automated renewal hooks are in place from day one.

What matters when choosing a server or hosting

  • Automated certificate lifecycle: Look for built-in support for the ACME protocol (such as Certbot or Caddy) so certificates renew automatically without manual intervention. See our Let's Encrypt installation and SSL automation guide for practical deployment workflows.
  • TLS 1.3 and OCSP Stapling support: Ensure the hosting provider's edge network or default web server stack supports TLS 1.3 and OCSP stapling to minimize handshake overhead and latency.
  • Hardware cryptographic acceleration: For high-traffic servers, verify that the underlying CPU supports instruction sets like AES-NI, which offload symmetric encryption calculations from general-purpose compute cycles.
  • Edge TLS termination: Managed platforms and CDNs often terminate TLS at edge nodes close to users, reducing round-trip times before forwarding traffic to your origin server.

Common mistakes

  • Allowing legacy protocols: Leaving SSL 3.0, TLS 1.0, or TLS 1.1 enabled exposes endpoints to known cryptographic exploits and causes modern browsers to block connections.
  • Serving incomplete certificate chains: Installing only the leaf domain certificate without intermediate CA certificates triggers trust warnings on mobile devices and non-browser clients.
  • Ignoring renewal failures: Relying on manual calendar reminders instead of automated cron jobs or systemd timers frequently leads to expired certificates and immediate service outages.
  • Mixed content delivery: Loading unencrypted HTTP scripts, stylesheets, or images inside an HTTPS page degrades security and causes browsers to block assets.

FAQ

Is SSL still used on the modern internet?

No. All versions of SSL (SSL 2.0 and SSL 3.0) are officially deprecated and insecure. Modern servers use TLS 1.2 or TLS 1.3, though administrators and hosting providers still use "SSL" colloquially to refer to TLS certificates.

Do I need to pay for an SSL/TLS certificate?

For almost all websites, APIs, and standard servers, no. Free, automated Certificate Authorities like Let's Encrypt provide domain-validated certificates with identical encryption strength to paid commercial certificates. You can explore performance benchmarks and setup details in our overview of SSL automation and speed on a VPS.

What is the difference between TLS termination and end-to-end TLS?

With TLS termination, a load balancer or reverse proxy decrypts incoming traffic and forwards unencrypted HTTP traffic over a private internal network to backend servers. End-to-end TLS keeps traffic encrypted all the way to the final application container, preventing interception even inside the internal network.

All glossary terms

Glossary

Related terms

Full glossary

New guides every week.

A digest of the best pieces on servers, VPN and self-hosted software. No ads, no spam.

1 email a weekOne-click unsubscribeRU · EN
Only slipjar.app articles, nothing else.