Secure Socket Layer (SSL) (original) (raw)

Last Updated : 28 Apr, 2026

Secure Sockets Layer (SSL) is an Internet security protocol that encrypts data to ensure secure communication between devices over a network.

handshake_protocol

Secure Socket Layer (SSL)

**Note: Websites using SSL/TLS display "HTTPS" in their URLs instead of "HTTP," indicating that communications are encrypted and secure.

Working of SSL

SSL ensures secure communication through three main mechanisms:

  1. **Encryption: Data transmitted over the network is encrypted, preventing unauthorized parties from reading it. If intercepted, encrypted data appears as an unreadable jumble of characters.
  2. **Authentication: SSL uses a handshake process to authenticate both the client and server, ensuring each party is legitimate and not an imposter.
  3. **Data Integrity: SSL digitally signs transmitted data to detect any tampering, ensuring that the data received is exactly what was sent.

Importance of SSL

Before SSL, web data was transmitted in plaintext, making it vulnerable to interception. SSL solves this by:

**Note: SSL protects against cyber threats by providing confidentiality, authentication and integrity for online communications.

SSL Protocols

SSL consists of several protocols, each handling a different aspect of secure communication

1. SSL Record Protocol

application_data

SSL Record Protocol

2. Handshake Protocol

Establishes SSL sessions and authenticates clients and servers.

ssl_handshake_protocol

SSL Handshake Protocol Phases diagrammatic representation

**Four phases:

3. Change-Cipher Spec Protocol.

1_byte

Change Cipher Spec Protocol

4. Alert Protocol

level_

Alert Protocol

Versions of SSL/TLS

Version Release Year Notes
SSL 1 Never released Insecure
SSL 2 1995 First public release
SSL 3 1996 Improved security
TLS 1.0 1999 Successor to SSL 3.0
TLS 1.1 2006 Improved encryption and security
TLS 1.2 2008 Widely adopted, strong encryption
TLS 1.3 2018 Modern, efficient, secure protocol

**Note: Today, TLS has replaced SSL, but the term "SSL" is still commonly used.

SSL Certificates

SSL certificates are digital certificates issued by trusted Certificate Authorities (CAs) to secure and verify websites.

Key Features

Types of SSL Certificates

  1. **Single-Domain: Secures one domain.
  2. **Wildcard: Secures one domain and all its subdomains.
  3. **Multi-Domain: Secures multiple unrelated domains in one certificate.

Validation Levels

SSL vs TLS