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

SSL or Secure Sockets Layer, is an Internet security protocol that encrypts data to keep it safe. It was created by Netscape in 1995 to ensure privacy, authentication, and data integrity in online communications. SSL is the older version of what we now call TLS (Transport Layer Security).

Websites using SSL/TLS have "HTTPS" in their URL instead of "HTTP."

Working of SSL

Importance of SSL

Originally, data on the web was transmitted in plaintext, making it easy for anyone who intercepted the message to read it. For example, if someone logged into their email account, their username and password would travel across the Internet unprotected.

SSL was created to solve this problem and protect user privacy. By encrypting data between a user and a web server, SSL ensures that anyone who intercepts the data sees only a scrambled mess of characters. This keeps the user's login credentials safe, visible only to the email service.

Additionally, SSL helps prevent cyber attacks by:

Secure Socket Layer Protocols

  1. SSL Record Protocol
  2. Handshake Protocol
  3. Change-Cipher Spec Protocol
  4. Alert Protocol

SSL Protocols

**SSL Record Protocol

SSL Record provides two services to SSL connection.

In the SSL Record Protocol application data is divided into fragments. The fragment is compressed and then encrypted MAC (Message Authentication Code) generated by algorithms like SHA (Secure Hash Protocol) and MD5 (Message Digest) is appended. After that encryption of the data is done and in last SSL header is appended to the data.

SSL Record ProtocolHandshake Protocol

Handshake Protocol is used to establish sessions. This protocol allows the client and server to authenticate each other by sending a series of messages to each other. Handshake protocol uses four phases to complete its cycle.

Handshake Protocol

SSL Handshake Protocol Phases diagrammatic representation

Change-Cipher Protocol

This protocol uses the SSL record protocol. Unless Handshake Protocol is completed, the SSL record Output will be in a pending state. After the handshake protocol, the Pending state is converted into the current state.
Change-cipher protocol consists of a single message which is 1 byte in length and can have only one value. This protocol's purpose is to cause the pending state to be copied into the current state.

Change Cypher Protocol

Alert Protocol

This protocol is used to convey SSL-related alerts to the peer entity. Each message in this protocol contains 2 bytes.

Alert Protocol

The level is further classified into two parts:

**Warning (level = 1)
This Alert has no impact on the connection between sender and receiver. Some of them are:

**Fatal Error (level = 2):

This Alert breaks the connection between sender and receiver. The connection will be stopped, cannot be resumed but can be restarted. Some of them are :

The second byte in the Alert protocol describes the error.

Salient Features of Secure Socket Layer

**Versions of SSL

SSL 1 - Never released due to high insecurity
SSL 2 - Released in 1995
SSL 3 - Released in 1996
TLS 1.0 - Released in 1999
TLS 1.1 - Released in 2006
TLS 1.2 - Released in 2008
TLS 1.3 - Released in 2018

SSL Certificate

SSL (Secure Sockets Layer) certificate is a digital certificate used to secure and verify the identity of a website or an online service. The certificate is issued by a trusted third-party called a Certificate Authority (CA), who verifies the identity of the website or service before issuing the certificate.

The SSL certificate has several important characteristics that make it a reliable solution for securing online transactions :

In addition to these key characteristics, SSL certificates also come in various levels of validation, including Domain Validation (DV), Organization Validation (OV), and Extended Validation (EV). The level of validation determines the amount of information that is verified by the CA before issuing the certificate, with EV certificates providing the highest level of assurance and trust to users. For more information about SSL certificates for each Validation level type, please refer to Namecheap.

Overall, the SSL certificate is an important component of online security, providing encryption, authentication, integrity, non-repudiation, and other key features that ensure the secure and reliable transmission of sensitive information over the internet.

Types of SSL Certificates

There are different types of SSL certificates, each suited for different needs:

These certificates vary in scope and flexibility, allowing website owners to choose the appropriate level of security coverage based on their needs.

SSL certificates have different validation levels, which determine how thoroughly a business or organization is vetted:

These validation levels help users understand the level of security and trust they can expect when visiting websites secured with SSL certificates.

Are SSL and TLS the Same thing?

SSL is the direct predecessor of TLS (Transport Layer Security). In 1999, the Internet Engineering Task Force (IETF) proposed an update to SSL. Since this update was developed by the IETF without Netscape's involvement, the name was changed to TLS. The changes between the last version of SSL (3.0) and the first version of TLS were not significant; the name change mainly signified new ownership.

Because SSL and TLS are so similar, people often use the terms interchangeably. Some still call it SSL, while others use "SSL/TLS encryption" since SSL is still widely recognized.

Check SSL Version

SSL (Secure Sockets Layer) hasn't been updated since SSL 3.0 back in 1996 and is now considered outdated. It has known vulnerabilities, so security experts advise against using it. Most modern web browsers no longer support SSL.

TLS (Transport Layer Security) is the current encryption protocol used online. Despite this, many still refer to it as "SSL encryption," causing confusion when people look for security solutions. Nowadays, any vendor offering "SSL" is likely providing TLS protection, which has been the standard for over 20 years. The term "SSL protection" is still used widely on product pages because many users still search for it.