Public Key Infrastructure (X509 PKI) : Presented By: Ali Fanian
Public Key Infrastructure (X509 PKI) : Presented By: Ali Fanian
(X509 PKI)
• The recipient uses a verification key (Public Key) to verify the origin of
the message and that it has not been tampered with while in transit
Intranet
Extranet
Internet
Bob Alice
Digital Signature
Message Message
Digest Digest
Hash Function Hash Function
Algorithm Algorithm
Digest
Public Key
Issuer
Subject
Issuer
Digital
Signature
Digital Certificate
Problems
• How are Digital Certificates Issued?
• Who is issuing them?
• Why should I Trust the Certificate Issuer?
• How can I check if a Certificate is valid?
• How can I revoke a Certificate?
• Who is revoking Certificates?
Moving towards PKI …
Public Key Infrastructure
(PKI)
Public Key Infrastructure
(PKI)
“Consumer” Side
• PKI enabled applications
X509 PKI – Simple Model
Certification
CA Entity
Cert. Request
Application Signed
Certificate
RA
Service Internet
Certs, Directory
CRLs
Remote Local
Person Person
X509 PKI
Certificate Authority (CA)
Basic Tasks:
• Key Generation
• Digital Certificate Generation
• Certificate Issuance and Distribution
• Revocation
• Key Backup and Recovery System
• Cross-Certification
X509 PKI
Registration Authority (RA)
Basic Tasks:
• Registration of Certificate Information
• Face-to-Face Registration
• Remote Registration
• Automatic Registration
• Revocation
X509 PKI
Certificate Distribution System
Provide Repository for:
• Digital Certificates
• Certificate Revocation Lists (CRLs)
Typically:
• Special Purposes Databases
• LDAP directories
Certificate Revocation List
Certificate Revocation List
Revoked Certificates
remain in CRL
until they expire
Certificate Revocation List (CRL)
• CRLs are published by CAs at well defined
interval of time
• It is a responsibility of “Users” to “download” a
CRL and verify if a certificate has been revoked
• User application must deal with the revocation
processes
Online Certificate Status Protocol
(OCSP)
• An alternative to CRLs
• IETF/PKIX standard for a real-time check if a
certificate has been revoked/suspended
Directory CRL
Certificate IDs
to be checked Download
CRL
User OCSP CRL
CA
Answer about Server
Certificate States
Directory
OCSP
X509 PKI
PKI-enabled Applications
Functionality Required:
• Cryptographic functionality
• Secure storage of Personal Information
• Digital Certificate Handling
• Communication Facilities
X509 PKI
Trust and Legal Issues
X509 PKI
Trust and Legal Issues
Certificate Hierarchies
and
Cross-Certification
CA Technology Evolution
CA CA CA CA Directory CA
Services
RA CA CA CA
Internet RA
RA RA
RA RA Internet
LRA LRA
Simple Certificate Hierarchy
Root CA Each entity has its own certificate
(and may have more than one). The
Sub-CAs root CA’s certificate is self signed and
each sub-CA is signed by its parent
CA.
Each CA may also issue CRLs. In
particular the lowest level CAs issue
CRLs frequently.
End Entities
End entities need to “find” a
certificate path to a CA that they trust.
Trusted
Simple Certificate Path
Root Alice trusts the root CA
Bob sends a message to Alice
1. Multiple Roots
2. Simple cross-certificate
3. Complex cross-certificate
X509 PKI
Approach to Trust : Problems
*
X509 PKI
Approach to Legal Aspects
Certificate Policy
And
Certificate Practice Statement
Certificate Policy (CP)
• A document that sets out the rights, duties and
obligations of each party in a Public Key
Infrastructure
• The Certificate Policy (CP) is a document which
usually has legal effect
• A CP is usually publicly exposed by CAs, for
example on a Web Site (VeriSign, etc.)
Policy Issues (CP)
• Liability Issues
• Repository Access Controls
• Confidentiality Requirements
• Registration Procedures
- Uniqueness of Names
- Authentication of Users/Organisations
• Revocation (Online/CRL)
• Physical Security Controls
Certificate Practice Statement
(CPS)
• A document that sets out what happens in practice
to support the policy statements made in the CP
in a PKI
IETF (PKIX) Standards
• X.509 Certificate and CRL Profiles
• PKI Management Protocols
• Certificate Request Formats
• CP/CPS Framework
• LDAP, OCSP, etc.
http://www.ietf.org/