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
@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
- A user generates a public/private key pair.
- The user submits a certificate request to the RA.
- The RA verifies the user's identity.
- The CA issues a digital certificate containing the user's public key and other information.
- 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.