☼
⌃
☰

Public key infrastructure

Table of Contents

Public Key Infrastructure

Core Components

  • Certificate Authority (CA): Issues and manages digital certificates.
  • Registration Authority (RA): Verifies user identities before issuing certificates.
  • Certificate Directory: Stores information about issued certificates.
  • Certificate Revocation List (CRL): Lists revoked certificates.

How PKI Works

PLANTUML-SVG
@startuml
participant User
participant "Registration Authority (RA)" as RA
participant "Certificate Authority (CA)" as CA

User -> User: Generate Public/Private Key Pair
User -> RA: Certificate Request
activate RA
RA -> RA: Verify User Identity
RA -> CA: Submit Certificate Request
activate CA
CA -> CA: Issue Digital Certificate
CA --> RA: Digital Certificate
deactivate CA
RA --> User: Digital Certificate
deactivate RA
User -> User: Use Certificate to Prove Identity/Encrypt Data
@enduml
  1. A user generates a public/private key pair.
  2. The user submits a certificate request to the RA.
  3. The RA verifies the user's identity.
  4. The CA issues a digital certificate containing the user's public key and other information.
  5. The user can use the certificate to prove their identity and encrypt data.

Benefits of PKI

  • Authentication: Verifies the identity of individuals and devices.
  • Data Integrity: Ensures data has not been tampered with.
  • Non-repudiation: Prevents parties from denying actions.
  • Confidentiality: Protects sensitive information through encryption.

Challenges

  • Certificate management: Requires careful handling of certificates and keys.
  • Revocation: Ensuring revoked certificates are updated in the CRL.
  • Security: Protecting the CA from attacks is crucial.