Nov 20, 2018
1 0

What Is SSL? How Do SSL Certificates Work?

Written by

“What is an SSL Certificate?” This is one of the most-asked questions on the Internet. Technically, SSL/TLS can be defined as a ‘cryptographic protocol’ that provides secure communication between a web browser and a server.

SSL stands for the Secure Socket Layer. It is also known as TLS, short for ‘Transfer Layer Security.’ SSL certificates are widely used in websites, mobile apps, emails, fax, messaging, etc. Generally, an SSL certificate is deployed on a website — its most common usage. While browsing on the Internet, you may have noticed that some sites say HTTPS while some say HTTP. You may have wondered what’s the difference between the two. Well, an SSL certificate is the difference.

The ‘S’ in HTTPS stands for security. An SSL certificate secures the communication between your PC/smartphone and the web server of an HTTPS-enabled website.

Why SSL?

When you access a website, communication takes place between the web browser of your PC or mobile device and the web server of the website. Information is then transferred from both sides. An SSL certificate protects the information transferred between both. This is compelling from a security and privacy point of view. Every day, we all send confidential information across the Internet in abundance. This includes delicate information such as email IDs, user IDs, passwords, credit/debit card details, bank account details, etc. If such confidential data is transmitted over an unprotected protocol, there is a significant risk of such private information coming in the hands of cyber criminals. Such interception of data being transmitted is called a Man-in-the-middle (MITM) attack.

As far as organizations are concerned, the importance of data security should be taken even more seriously. In any organization, a colossal amount of secret data is transferred, whether it is inside the organization or outside. If even a single document is leaked, it can cause a considerable amount of damage to the organization. This is where SSL certificates enter the picture.

READ ALSO  Concept Behind Cross-Site Request Forgery.

What Does an SSL Certificate Do?

We all have sent/received something in an envelope, right? You must have used (or at least seen!) an envelope seal to keep the documents safe. Simply put, that is what an SSL certificate does. An SSL certificate safeguards any information being transferred between a client and a server. This is done via Encryption.

What Is Encryption?

As stated above, SSL certificates facilitate Encryption. Let’s talk about how that works. If you send any data on an HTTPS-enabled website, that piece of information is converted into an unreadable string of characters. For example, if your password is 1234, then it might be converted into something like ^%jrt5/*u. This makes it virtually impossible for any hacker to interpret the information, even if they manage to intercept the data somehow.

This Encryption technique has been used for centuries. It is believed that Julius Caesar was the first person to use it. It is referred to as Caesar’s Cipher. Compared to Caesar’s Cipher, today’s encryption methods are much more complex. Specific algorithms are applied to change the bundle of data into an undecipherable format. Forget about humans — these algorithms are so complex in nature that even supercomputers can’t crack them. Seriously, it would take a supercomputer over 100 years to crack the 256-bit encryption.

How Do SSL Certificates Work?

SSL certificates work based on public key infrastructure (PKI) or public key cryptography. This method involves two distinct cryptographic keys — Private Key and Public Key. The public key is used for encryption purposes and the private key is for decryption.

READ ALSO  How do I learn ethical hacking in India?

As the name implies, the Public Key is shared with everyone who receives the certificate upon visiting a website. You are using the public key without even knowing it. These keys are stored in the digital certificate. You can see the public key of a website by viewing the SSL certificate details in your browser.

Both the keys are different but related to each other. This means that the information encrypted using a particular public key can only be decrypted using the private key attached to it. A secure connection is established if the client can verify that the public key matches the private key. This is called ‘Asymmetric Encryption.’

The SSL Handshake

The process of establishing a secure connection is referred to as an ‘SSL handshake.’ It’s not like the old-fashioned handshake that we all do every day. Instead, it’s a modern-day version of a handshake (just like the “cool” millennials do). This handshake involves three steps (no dabbing involved!)— hello, server verification, and transfer of keys.

  • Hello: As we (well, most of us!) all do upon meeting someone, the client and the server say Hello to each other. The client sends a ClientHello message to the server. This “Hello” contains some SSL certificate information. In response to this messageClientHello, the server responds to it by ServerHello message. Likewise, it also consists of similar information as the ClientHello  message.
  • Server Verification: Now, a secure connection is in place between the client and the server (a good amount of comfort between the two). Now, this is the stage where the client verifies the identity of the server. How exactly? Through an SSL certificate. An SSL certificate contains information of the owner/organization, its location public key, validity dates, etc. The client makes sure that a valid certificate authority (CA) has validated the certificate.
  • Transfer of Keys: Once the client verifies and authenticates the server, it’s time for both the parties to share their keys. After the verification of the server is done, the client uses the public key to generate a pre-master key. Then, this pre-master key is sent to the server. The server decrypts this pre-master key using its private key. This way a new key is computed by the client and the server. This is an example of Asymmetric Encryption. This master key is used to encrypt and decrypt the information transferred between the client and the server. This is called Symmetric Encryption. Thus, both the techniques of Encryption are deployed to ensure a secure connection.
READ ALSO  Rust: Difficult to Learn, but an Exciting Programming Language

What Details Does an SSL Certificate Include?

An SSL certificate includes the details of the party to whom the certificate has been issued. It includes the following information:

  • Domain Name
  • Certificate Validity Period
  • Certificate Authority (CA) Details
  • Public Key
  • Public Key Algorithm
  • Certificate Signature Algorithm
  • SSL/TLS Version
  • Thumbprint
  • Thumbprint Algorithm

The aforementioned information is included no matter which type of SSL certificate has been installed on the website. However, some additional information is also provided in the advanced level SSL certificates. For instance, organization validation (OV) and extended validation (EV) SSL certificates include details of the organization such as: let’s Take As

  • Name of the organization (Tech and Security
  • Website owner (Lovepreet Singh)
  • Address (……….)
  • City (Bathinda)
  • State (Punjab)
  • Country (India)
Upcoming Topic:-  EOS.IO Smart Contract Database Walkthrough.
Article Tags:
· · · · · · ·
Article Categories:
In-Depth Concepts · Information


Comments to What Is SSL? How Do SSL Certificates Work?

  • Levitra 10 Mg Quanto Costa [url=]cialis[/url] Naturliches Viagra Dapoxetina Senza Ricetta [url=]viagra vs cialis vs levitra[/url] Zithromax Swollen Lymph Nodes Can You Get Levitra Cheap Cialis Pharmacy Online Viagra For Men Kamagra Pas Cher Pharmacie Donating Blood And Amoxicillin [url=][/url] Viagra Fettes Essen Prezzi Cialis Online Actimoxil No Prescription Needed In Internet Clomid Canada Pharmacy [url=]purchase orlistat 60 mg[/url] Buy Cialis 100mg Kamagra And Hiv Cialis Rezeptfrei Test Zithromax Boots Buy Flagyl In Burbank [url=]viagra online[/url] Viagra Andorre Levitra Eccipienti Levitra Orodispersibile Prezzo In Farmacia Pyridium Algodones [url=][/url] Amoxicillin Good For Prosthesis Amoxicillin S Side Effects Azithromycin Purchase Over Counter

    JeaInorse December 24, 2018 11:27 pm Reply
  • Secure Bentyl 20mg Dibent Website Internet Pharmacy Online [url=]viagra[/url] Vendita Cialis In Italia Viagra En Madrid Espana Discount Finasteride Acne When Is Alli Coming Back [url=]viagra[/url] Viagra Generico Mexico Doxycycline Online For Sale [url=]levitra dosage[/url] Cephalexin And Fibroma Cyst Canadian Generic No Presciption Canadian Health Shop Generic Progesterone Medicine Tablets [url=]cialis 5mg[/url] Cialis 10 Mg Tabletas isotretinoin with overnight delivery in internet Priligy Dapoxetine Chlorhydrate Buy Viagra Cialis On Line [url=]generic cialis[/url] Viagra Masculino Order Synthetic Viagra Levitra Alkohol [url=]viagra[/url] Cialis En Suisse On Line Canadian Pharmacies Prezzo Viagra Nelle Farmacie

    JeaInorse January 8, 2019 11:09 pm Reply
  • Generic Levaquin Cialis 20mg Filmtabletten 8 Stuck Vipps Certified Pharmacy [url=]mail order levitra 90 day supply[/url] Priligy Como Se Toma Levitra Generico 5mg Where Can I Get Zithromax Over The Counter Real Progesterone Visa On Line Cephalexin Pet Meds [url=]cialis[/url] Amoxicillin Child Can I Drink Alcohol With Cephalexin Cialis Online Offerta Propecia Ppv [url=]viagra online[/url] Il Viagra Fa Male Al Fegato Propecia Espana Disfuncion Erectil Levitra Da 5 Mg Prezzo Amoxicillin And Sinusitis [url=]generic 5mg cialis best price[/url] Buy Silagra Online In India Canadian Pharmacy Propecia Viagra Bier Levitra Wofur Buy Doxycycline Uk Online Healtyman [url=]viagra vs cialis[/url] Quiniela Con Propecia Walmart Pharmacy Drug Prices Purchasing Generic Dutasteride Tablets Discount Low Price Cialis Horsturz Alli In Uk Discount Cheap Direct Dutasteride Website [url=]cialis[/url] Where Can I Buy Celebrex Online Amoxicillin Order

    JeaInorse January 18, 2019 9:34 pm Reply
  • Generic Cialis Online Pharmacy Reviews [url=]viagra online pharmacy[/url] Voyage Levitra Comprar Cialis Madrid Componentes De La Viagra [url=]viagra femme[/url] No Prescription Generic Viagra Online Propecia Generic 15mg Buy Propecia Online With Prescription Cialis No Me Hace Efecto Whats In The Medicine Cephalexin [url=]cialis from canada[/url] Cialis Ordonnance Dyes In Amoxicillin Cancer Priligy 2013 Online Apotheke Silagra Where Can I Find Avanafil Cheaper Free Viagra Without Prescription [url=]canadian pharmacy cialis[/url] Cephalexin Lupin Amoxicillin Reaction In Infants Order Plavix From Canada 40mg Cialis Tigerfil 100 Mg Amoxicillin Side Effect Baby Hyper [url=]cialis 5mg[/url] Effets Secondaires De Amoxil Compare Generic Cialis Prices Baclofene Epilepsie Prezzo Viagra E Cialis [url=]order cialis online[/url] Wholesale Prices Viagra

    JeaInorse January 25, 2019 3:24 am Reply
  • Is Cephalexin A Form Of Amoxicillin [url=]cheapest cialis 20mg[/url] Online Generic Cialis Review Clomid Donde Puedo Comprar Propecia Criticas

    JeaInorse February 4, 2019 7:09 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *