0%

Digital Signature & Digital Certificate

Digital Signature

What is Digital Signature

A digital signature is equivalent to a handwritten signature in paper. It is an electronic verification of the sender.

A digital signature serves three basic purposes.

  • Authentication
  • Non-repudiation
  • Integrity

How Digital Signature Works

what-is-digital-signature

Keep in mind, digital signature is not about encrypting document, just like paper-based signature.

Weakness of Digital Signature

Digital signature lacks authentication! (Anyone can pretend he is Bob.)

Man-in-the-middle attack:

Man-in-the-middle-attack-1

Man-in-the-middle-attack-2

So we need digital certificate!

Digital Certificate

Digital certificates are electronic credentials issued by a trusted third party.

Why Do We Need Digital Certificate

Because digital certificate verifies not only the identity of the owner, but also that the owner owns the public key.

Digital certificate verifies the digital signature is truly signed by the claimed signer.

How SSL Certificate Works

Prerequisites

pre

SSL Certificate Flow

ssl-cer-flow

Signed on Trusted Third Party CA (eg. Google CA)

cer-with-gg

Self-Signed Certificate

self-sign-cer

More Read

Ref