Cryptography & PKI

Digital Certificates & PKI

Overview

A digital certificate connects a public key to an identity. PKI is the full set of people, policies, hardware, software, and procedures that manage public-key cryptography at scale.

Key concepts

  • Certificate authority, registration authority, CSR
  • Root vs. intermediate certificates, certificate chain
  • CRL, OCSP, certificate expiration

How it works

A digital certificate is an electronic document that connects a public key to an identity, letting users and systems verify the identity of websites, people, devices, and organizations.

PKI (Public Key Infrastructure) is the people, policies, hardware, software, certificates, and procedures used to manage public-key cryptography — supporting secure communication, authentication, encryption, and digital signatures.

Issuing & trust chain

ComponentRole
Certificate authorityTrusted organization that issues and signs digital certificates.
Registration authorityVerifies an identity before a certificate is issued.
Certificate signing requestA request sent to a CA to obtain a digital certificate.
Root certificateThe trusted certificate at the top of a certificate hierarchy.
Intermediate certificateIssued by a root CA and used to issue other certificates.
Certificate chainThe sequence of certificates linking a certificate back to a trusted root.

Validity & revocation

ComponentRole
Certificate revocation list (CRL)A list of certificates canceled before their expiration date.
Online Certificate Status Protocol (OCSP)A method for checking whether a certificate is currently valid or revoked.
Certificate expirationThe date after which a certificate is no longer valid.
TLS certificateA certificate used to authenticate a website/online service and secure its communications.