SlideShare a Scribd company logo
1 of 30
Public Key Infrastructure
(PKI)
Jerad Bates
University of Maryland, Baltimore County
December 2007
Overview
 Introduction
 Building Blocks
 Certificates
 Organization
 Conclusions
Introduction
In the beginning there were shared secret keys
 Early cryptographic systems had to use the
same key for encryption and decryption
 To establish an encrypted channel both users
needed to find out this key in some secure
fashion
 Limited – Users could meet and exchange the key
 Flexible – Users could use a key server
Introduction
Key Exchange – User to User
 This exchange eliminates a communication channel that could be
attacked
 Limited - Users must meet all other users
 In a system with n users, number of meetings is on the order of O(n2)
 Users must recognize each other or show proper identification
Introduction
Key Exchange – Key Server
 Each user has set to up a key with the Key Server
 Key Server creates and transmits secure session keys to users
 Flexible – Users need only have a prior established key with the Key
Server
 For a system with n users only (n) meetings must occur
 Key Server takes care of the initial validation of user’s identities
KA,KS KB,KS
Building Blocks
 Cryptographic tools
 Putting them together
 Names
 Time
 A secure communication session
Building Blocks
Cryptographic Tools
 Symmetric Key Cryptography
 Encryption: SEK(M) = C
 Decryption: SDK(C) = M
 Secure as long as only communicating users know K
 Having K lets one read C
 Fast to calculate
 Public Key Cryptography
 Encryption: PEK+(M) = C
 Decryption: PDK-(C) = M
 Secure as long K- is only known by the receiver
 Having K- lets one read C, but having K+ does not
 Slow to calculate
Building Blocks
Cryptographic Tools
 Digital Signatures
 Sign: PEK-(H(M)) = S
 Verify: PDK+(S) = H(M)
 Reliable as long as only the signer knows K-
 Having K- allows one to sign, having K+ only allows
one to verify the signature
 Slow to calculate
 K’s + and - could just be a user’s public and private
keys
Building Blocks
Putting Them Together
 Symmetric cryptography is used for
majority of communications
 Public Key cryptography is used for
exchanging Symmetric keys
 Digital Signatures are used to validate
Public Keys
Building Blocks
Names
 A name in PKI must be unique to a user
 Assigning these names presents similar
difficulties as found in other areas of
Distributed Systems
 Without proper and well thought out
naming PKI is pretty much useless
Building Blocks
Time
 A PKI must know the current time
 Much of a PKI’s security relies on having
an accurate clock
 For the most part, time does not need to
be known extremely reliably and being off
by a minute will usually not be an issue
Building Blocks
A Secure Communications Session
 Alice and Bob wish to set up a secure
communications channel
 They use Public Key Cryptography to exchange a
Symmetric key
 Alice: Private PK = K-A, Public PK = K+A
 Bob: Private PK = K-B, Public PK = K+B
 Time T and random Symmetric Key KS
 Simplified example:
1: Alice -> Bob: PEK+B(Alice, T, K+A, PEK-A(T, KS))
2: Bob -> Alice: PEK+A(T, KS)
3: Alice <-> Bob: SEKS(Mi)
Certificates
 What they are
 How they are issued
 How they are distributed
 How they are revoked
Certificates
What they are
 The issue with building a secure session is that it
assumes that both Alice and Bob know each others
public keys
 We need some way for them to learn this besides
meeting each other (otherwise we are in the same
predicament as with Symmetric Key exchange meetings)
 We could use a similar strategy to the Key Server but
can we do better?
This is where Certificates come in…
Certificates
What they are
 A Certificate is a combination of a user’s public key,
unique name, Certificate start and expiration dates, and
possibly other information
 This Certificate is then digitally signed, by some Trusted
3rd Party, with the signature being attached to the rest of
the Certificate
 This Signed Certificate is commonly referred to as just
the user’s Certificate
 The Certificate for a user Bob, signed by signer Tim, in
essence states
“I Tim certify that this Public Key belongs to Bob”
Certificates
How they are issued
 The users of a PKI must place their trust in a 3rd
Party to carefully verify a user’s identity before
signing his or her public key
 Each user generates their own Public-Private Key
pair and Certificate
 A user then verifies them self to the 3rd Party
and shows his or her Certificate’s content. At this
point the third party will sign the Certificate.
Certificates
How they are distributed
 Users are free to distribute their signed
Certificates over any medium, public or private,
without concern
 Other users may acquire this Certificate from
any source and check the 3rd Party’s signature
for tampering
 If the signature is good then the other users
know that the 3rd Party affirms that the
Certificate belongs to the user who is listed in
the Certificate
Certificates
How they are Revoked
 Periodically Certificates may become compromised,
requiring a Certificate Revocation
 A Certificate Revocation message is simply a message
signed by K-i (the private version of the Certificate’s K+i)
saying that the Certificate is revoked
 A PKI will have a database of revoked Certificates (a
Certificate Revocation List, CRL) that users may access
periodically for the latest list of revoked Certificates
 An alternative to certificate revoking is to set the
expiration time to very shortly after the issue time. Thus
every key in this system is revoked so rapidly that we do
not need to worry what may happen to the compromised
key
Organization
 What is “Trust”?
 How do we organize a PKI to disseminate
trust?
Organization
Trust
 Trust is based on real world contractual
obligations between a 3rd Party and users [2]
 This Trusted 3rd Party is referred to as a
Certificate Authority (CA)
 In other models trust is based on personal
relationships that don’t have a contractual basis
(e.g. PGP)
 Users may allow a CA to delegate their trust
 This delegation of trust is what allows us to
build large PKI’s
Organization
Trust
 If Alice trusts Root CA then she trusts Bob’s Certificate
signed by Root CA
 If Alice trusts Root CA to delegate her trust to others
then she trusts Chad’s Certificate signed by Small CA
Alice
Root CA
Small CA
Bob Chad
Organization
Organizing a PKI
 A PKI may be organized based on a
variety of models using delegation of trust
 Strict Hierarchy
 Networked
 Web Browser
 PGP
Organization
Strict Hierarchy
 All users trust Root CA
 Root CA may delegate that trust to other CA’s who in turn may be
allowed to delegate that trust
 In this way a PKI may grow without all the burden being placed on
Root CA
Alice
Root CA
Small CA
Bob Chad Dan
Smaller CA
Emily Fred
Organization
Networked
 The Networked model addresses what to
do when two or more PKIs wish to join
together or merge
 Two techniques
 Mesh
 Hub-and-Spoke
 We only need the Root CAs of each PKI to
participate in this model
Organization
Networked – Mesh
 Every Root CA signs every other Root CA’s
Certificate
 Hard to join a large numbers of CAs
Root CA3
Root CA1 Root CA2
Root CA4
Organization
Networked – Hub-and-Spoke
 The Root CAs come together to create the Super Root CA
 Each Root CA signs the Super Root CA’s certificate while the Super Root CA
signs each of theirs
 Easier to join large numbers of CAs
 Question becomes, Who gets to manage the Super Root CA?
Root CA3
Root CA1 Root CA2
Root CA4
Super Root CA
Organization
Web Browser
 A Web Browser maintains a list of trusted Root CAs
 Any Certificate signed by one of these Root CAs is trusted
 Basically a list of n Hierarchy Models
 Initial list decided on by Web Browser’s producer
alice.com bob.com chad.com dan.com
Smaller CA
emily.com fred.com
Root CA3
Root CA1 Root CA2 Root CAn
…
Organization
PGP
 Each user’s Certificate is signed by zero or more other users
 Certificate validity calculated from levels of trust assigned by signers
 Assigned levels (Chad)
 Implicit: User themselves – Chad
 Complete: Any Certificate signed by the user them self – Fred and Emily
 Intermediate Calculated Item
 Partial Trust: Any Certificate signed by a ‘Complete’ Certificate – Bob and Dan
 Calculated (Chad)
 Valid: Any Certificate signed by an ‘Implicit’ or ‘Complete’ level Certificates – Chad, Fred, Emily, Dan,
and Bob
 Marginally Valid: Any Certificate signed by two or more ‘Partial’ trust Certificates – Gary
 Invalid: Any Certificate signed by a ‘Marginally Valid’ or no one - Alice
Alice
Bob
Chad
Dan
Emily
Fred
Gary
Conclusions
 A PKI allows us to take the concept of a Key Server and apply it to
Public Keys
 It allows greater flexibility then a Key Server in that users do not
need to communicate with the Root CA every time a Session Key is
needed
 There are a vast variety of models for disseminating trust in a PKI
 Even though PKIs look like an amazing idea, in practice there are
numerous problems implementing them on a large scale
 Who does everyone trust?
 What format do people use?
 Security of the multitude of programs that rely on PKIs
Sources
[1] Adams, Carlisle, and Steve Lloyd. Understanding
PKI: Concepts, Standards, and Deployment
Considerations. Second ed. Boston, MA: Addison-
Wesley, 2003.
[2] Ferguson, Neils, and Bruce Schneier. Practical
Cryptography. Indianapolis, IN: Wiley, Inc., 2003.
[3] Stinson, Douglas R. Cryptography: Theory and
Practice. 3rd ed. Boca Raton, FL: Chapman &
Hall/CRC, 2006.
[4] Tanenbaum, Andrew S., and Maarten V. Steen.
Distributed Systems: Principles and Paradigms. 2nd
ed. Upper Saddle River, NJ: Pearson Prentice Hall,
2007.

More Related Content

Similar to Jerad Bates - Public Key Infrastructure (1).ppt

Public key infrastructure
Public key infrastructurePublic key infrastructure
Public key infrastructureAditya Nama
 
Implementing Public-Key-Infrastructures
Implementing Public-Key-InfrastructuresImplementing Public-Key-Infrastructures
Implementing Public-Key-InfrastructuresOliver Pfaff
 
317c0cdb 81da-40f9-84f2-1c5fba2f4b2d
317c0cdb 81da-40f9-84f2-1c5fba2f4b2d317c0cdb 81da-40f9-84f2-1c5fba2f4b2d
317c0cdb 81da-40f9-84f2-1c5fba2f4b2dP2PSystem
 
Digital certificate management v1 (Draft)
Digital certificate management v1 (Draft)Digital certificate management v1 (Draft)
Digital certificate management v1 (Draft)Avirot Mitamura
 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructurevimal kumar
 
Introduction to Public Key Infrastructure
Introduction to Public Key InfrastructureIntroduction to Public Key Infrastructure
Introduction to Public Key InfrastructureTheo Gravity
 
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...PECB
 
Cryptograpy Exam
Cryptograpy ExamCryptograpy Exam
Cryptograpy ExamLisa Olive
 
Digital signature & PKI Infrastructure
Digital signature & PKI InfrastructureDigital signature & PKI Infrastructure
Digital signature & PKI InfrastructureShubham Sharma
 
PKI - The Backbone of Digital Signatures - DrySign by Exela
PKI - The Backbone of Digital Signatures - DrySign by ExelaPKI - The Backbone of Digital Signatures - DrySign by Exela
PKI - The Backbone of Digital Signatures - DrySign by ExelaDrysign By Exela
 
Iaetsd secure emails an integrity assured email
Iaetsd secure emails an integrity assured emailIaetsd secure emails an integrity assured email
Iaetsd secure emails an integrity assured emailIaetsd Iaetsd
 
Grid security seminar mohit modi
Grid security seminar mohit modiGrid security seminar mohit modi
Grid security seminar mohit modiMohit Modi
 
Kumkum digital certificate
Kumkum digital certificateKumkum digital certificate
Kumkum digital certificateKumkum Sharma
 
Digital certificates in e commerce
Digital certificates in e commerceDigital certificates in e commerce
Digital certificates in e commercemahesh tawade
 
Key exchange in crypto
Key exchange in cryptoKey exchange in crypto
Key exchange in cryptoTony Nguyen
 
Key exchange in crypto
Key exchange in cryptoKey exchange in crypto
Key exchange in cryptoDavid Hoen
 

Similar to Jerad Bates - Public Key Infrastructure (1).ppt (20)

Public key infrastructure
Public key infrastructurePublic key infrastructure
Public key infrastructure
 
Ch15
Ch15Ch15
Ch15
 
Implementing Public-Key-Infrastructures
Implementing Public-Key-InfrastructuresImplementing Public-Key-Infrastructures
Implementing Public-Key-Infrastructures
 
317c0cdb 81da-40f9-84f2-1c5fba2f4b2d
317c0cdb 81da-40f9-84f2-1c5fba2f4b2d317c0cdb 81da-40f9-84f2-1c5fba2f4b2d
317c0cdb 81da-40f9-84f2-1c5fba2f4b2d
 
Digital certificate management v1 (Draft)
Digital certificate management v1 (Draft)Digital certificate management v1 (Draft)
Digital certificate management v1 (Draft)
 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructure
 
Introduction to Public Key Infrastructure
Introduction to Public Key InfrastructureIntroduction to Public Key Infrastructure
Introduction to Public Key Infrastructure
 
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...
Building Trust in Blockchain: How Blockchain Will Revolutionize Businesses in...
 
Cryptograpy Exam
Cryptograpy ExamCryptograpy Exam
Cryptograpy Exam
 
Digital signature & PKI Infrastructure
Digital signature & PKI InfrastructureDigital signature & PKI Infrastructure
Digital signature & PKI Infrastructure
 
Everything you need to Know about PKI .pdf
Everything you need to Know about PKI .pdfEverything you need to Know about PKI .pdf
Everything you need to Know about PKI .pdf
 
The world of encryption
The world of encryptionThe world of encryption
The world of encryption
 
Vinod Rebello
Vinod RebelloVinod Rebello
Vinod Rebello
 
PKI - The Backbone of Digital Signatures - DrySign by Exela
PKI - The Backbone of Digital Signatures - DrySign by ExelaPKI - The Backbone of Digital Signatures - DrySign by Exela
PKI - The Backbone of Digital Signatures - DrySign by Exela
 
Iaetsd secure emails an integrity assured email
Iaetsd secure emails an integrity assured emailIaetsd secure emails an integrity assured email
Iaetsd secure emails an integrity assured email
 
Grid security seminar mohit modi
Grid security seminar mohit modiGrid security seminar mohit modi
Grid security seminar mohit modi
 
Kumkum digital certificate
Kumkum digital certificateKumkum digital certificate
Kumkum digital certificate
 
Digital certificates in e commerce
Digital certificates in e commerceDigital certificates in e commerce
Digital certificates in e commerce
 
Key exchange in crypto
Key exchange in cryptoKey exchange in crypto
Key exchange in crypto
 
Key exchange in crypto
Key exchange in cryptoKey exchange in crypto
Key exchange in crypto
 

More from MehediHasanShaon1

More from MehediHasanShaon1 (6)

Group 8.pptx
Group 8.pptxGroup 8.pptx
Group 8.pptx
 
ccapresentation.ppt
ccapresentation.pptccapresentation.ppt
ccapresentation.ppt
 
csedigitalsignatureppt-170420041737.pdf
csedigitalsignatureppt-170420041737.pdfcsedigitalsignatureppt-170420041737.pdf
csedigitalsignatureppt-170420041737.pdf
 
seminar-151029231027-lva1-app6892.pdf
seminar-151029231027-lva1-app6892.pdfseminar-151029231027-lva1-app6892.pdf
seminar-151029231027-lva1-app6892.pdf
 
module_14_digital_signatures.pptx
module_14_digital_signatures.pptxmodule_14_digital_signatures.pptx
module_14_digital_signatures.pptx
 
Digital signature.ppt
Digital signature.pptDigital signature.ppt
Digital signature.ppt
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 

Jerad Bates - Public Key Infrastructure (1).ppt

  • 1. Public Key Infrastructure (PKI) Jerad Bates University of Maryland, Baltimore County December 2007
  • 2. Overview  Introduction  Building Blocks  Certificates  Organization  Conclusions
  • 3. Introduction In the beginning there were shared secret keys  Early cryptographic systems had to use the same key for encryption and decryption  To establish an encrypted channel both users needed to find out this key in some secure fashion  Limited – Users could meet and exchange the key  Flexible – Users could use a key server
  • 4. Introduction Key Exchange – User to User  This exchange eliminates a communication channel that could be attacked  Limited - Users must meet all other users  In a system with n users, number of meetings is on the order of O(n2)  Users must recognize each other or show proper identification
  • 5. Introduction Key Exchange – Key Server  Each user has set to up a key with the Key Server  Key Server creates and transmits secure session keys to users  Flexible – Users need only have a prior established key with the Key Server  For a system with n users only (n) meetings must occur  Key Server takes care of the initial validation of user’s identities KA,KS KB,KS
  • 6. Building Blocks  Cryptographic tools  Putting them together  Names  Time  A secure communication session
  • 7. Building Blocks Cryptographic Tools  Symmetric Key Cryptography  Encryption: SEK(M) = C  Decryption: SDK(C) = M  Secure as long as only communicating users know K  Having K lets one read C  Fast to calculate  Public Key Cryptography  Encryption: PEK+(M) = C  Decryption: PDK-(C) = M  Secure as long K- is only known by the receiver  Having K- lets one read C, but having K+ does not  Slow to calculate
  • 8. Building Blocks Cryptographic Tools  Digital Signatures  Sign: PEK-(H(M)) = S  Verify: PDK+(S) = H(M)  Reliable as long as only the signer knows K-  Having K- allows one to sign, having K+ only allows one to verify the signature  Slow to calculate  K’s + and - could just be a user’s public and private keys
  • 9. Building Blocks Putting Them Together  Symmetric cryptography is used for majority of communications  Public Key cryptography is used for exchanging Symmetric keys  Digital Signatures are used to validate Public Keys
  • 10. Building Blocks Names  A name in PKI must be unique to a user  Assigning these names presents similar difficulties as found in other areas of Distributed Systems  Without proper and well thought out naming PKI is pretty much useless
  • 11. Building Blocks Time  A PKI must know the current time  Much of a PKI’s security relies on having an accurate clock  For the most part, time does not need to be known extremely reliably and being off by a minute will usually not be an issue
  • 12. Building Blocks A Secure Communications Session  Alice and Bob wish to set up a secure communications channel  They use Public Key Cryptography to exchange a Symmetric key  Alice: Private PK = K-A, Public PK = K+A  Bob: Private PK = K-B, Public PK = K+B  Time T and random Symmetric Key KS  Simplified example: 1: Alice -> Bob: PEK+B(Alice, T, K+A, PEK-A(T, KS)) 2: Bob -> Alice: PEK+A(T, KS) 3: Alice <-> Bob: SEKS(Mi)
  • 13. Certificates  What they are  How they are issued  How they are distributed  How they are revoked
  • 14. Certificates What they are  The issue with building a secure session is that it assumes that both Alice and Bob know each others public keys  We need some way for them to learn this besides meeting each other (otherwise we are in the same predicament as with Symmetric Key exchange meetings)  We could use a similar strategy to the Key Server but can we do better? This is where Certificates come in…
  • 15. Certificates What they are  A Certificate is a combination of a user’s public key, unique name, Certificate start and expiration dates, and possibly other information  This Certificate is then digitally signed, by some Trusted 3rd Party, with the signature being attached to the rest of the Certificate  This Signed Certificate is commonly referred to as just the user’s Certificate  The Certificate for a user Bob, signed by signer Tim, in essence states “I Tim certify that this Public Key belongs to Bob”
  • 16. Certificates How they are issued  The users of a PKI must place their trust in a 3rd Party to carefully verify a user’s identity before signing his or her public key  Each user generates their own Public-Private Key pair and Certificate  A user then verifies them self to the 3rd Party and shows his or her Certificate’s content. At this point the third party will sign the Certificate.
  • 17. Certificates How they are distributed  Users are free to distribute their signed Certificates over any medium, public or private, without concern  Other users may acquire this Certificate from any source and check the 3rd Party’s signature for tampering  If the signature is good then the other users know that the 3rd Party affirms that the Certificate belongs to the user who is listed in the Certificate
  • 18. Certificates How they are Revoked  Periodically Certificates may become compromised, requiring a Certificate Revocation  A Certificate Revocation message is simply a message signed by K-i (the private version of the Certificate’s K+i) saying that the Certificate is revoked  A PKI will have a database of revoked Certificates (a Certificate Revocation List, CRL) that users may access periodically for the latest list of revoked Certificates  An alternative to certificate revoking is to set the expiration time to very shortly after the issue time. Thus every key in this system is revoked so rapidly that we do not need to worry what may happen to the compromised key
  • 19. Organization  What is “Trust”?  How do we organize a PKI to disseminate trust?
  • 20. Organization Trust  Trust is based on real world contractual obligations between a 3rd Party and users [2]  This Trusted 3rd Party is referred to as a Certificate Authority (CA)  In other models trust is based on personal relationships that don’t have a contractual basis (e.g. PGP)  Users may allow a CA to delegate their trust  This delegation of trust is what allows us to build large PKI’s
  • 21. Organization Trust  If Alice trusts Root CA then she trusts Bob’s Certificate signed by Root CA  If Alice trusts Root CA to delegate her trust to others then she trusts Chad’s Certificate signed by Small CA Alice Root CA Small CA Bob Chad
  • 22. Organization Organizing a PKI  A PKI may be organized based on a variety of models using delegation of trust  Strict Hierarchy  Networked  Web Browser  PGP
  • 23. Organization Strict Hierarchy  All users trust Root CA  Root CA may delegate that trust to other CA’s who in turn may be allowed to delegate that trust  In this way a PKI may grow without all the burden being placed on Root CA Alice Root CA Small CA Bob Chad Dan Smaller CA Emily Fred
  • 24. Organization Networked  The Networked model addresses what to do when two or more PKIs wish to join together or merge  Two techniques  Mesh  Hub-and-Spoke  We only need the Root CAs of each PKI to participate in this model
  • 25. Organization Networked – Mesh  Every Root CA signs every other Root CA’s Certificate  Hard to join a large numbers of CAs Root CA3 Root CA1 Root CA2 Root CA4
  • 26. Organization Networked – Hub-and-Spoke  The Root CAs come together to create the Super Root CA  Each Root CA signs the Super Root CA’s certificate while the Super Root CA signs each of theirs  Easier to join large numbers of CAs  Question becomes, Who gets to manage the Super Root CA? Root CA3 Root CA1 Root CA2 Root CA4 Super Root CA
  • 27. Organization Web Browser  A Web Browser maintains a list of trusted Root CAs  Any Certificate signed by one of these Root CAs is trusted  Basically a list of n Hierarchy Models  Initial list decided on by Web Browser’s producer alice.com bob.com chad.com dan.com Smaller CA emily.com fred.com Root CA3 Root CA1 Root CA2 Root CAn …
  • 28. Organization PGP  Each user’s Certificate is signed by zero or more other users  Certificate validity calculated from levels of trust assigned by signers  Assigned levels (Chad)  Implicit: User themselves – Chad  Complete: Any Certificate signed by the user them self – Fred and Emily  Intermediate Calculated Item  Partial Trust: Any Certificate signed by a ‘Complete’ Certificate – Bob and Dan  Calculated (Chad)  Valid: Any Certificate signed by an ‘Implicit’ or ‘Complete’ level Certificates – Chad, Fred, Emily, Dan, and Bob  Marginally Valid: Any Certificate signed by two or more ‘Partial’ trust Certificates – Gary  Invalid: Any Certificate signed by a ‘Marginally Valid’ or no one - Alice Alice Bob Chad Dan Emily Fred Gary
  • 29. Conclusions  A PKI allows us to take the concept of a Key Server and apply it to Public Keys  It allows greater flexibility then a Key Server in that users do not need to communicate with the Root CA every time a Session Key is needed  There are a vast variety of models for disseminating trust in a PKI  Even though PKIs look like an amazing idea, in practice there are numerous problems implementing them on a large scale  Who does everyone trust?  What format do people use?  Security of the multitude of programs that rely on PKIs
  • 30. Sources [1] Adams, Carlisle, and Steve Lloyd. Understanding PKI: Concepts, Standards, and Deployment Considerations. Second ed. Boston, MA: Addison- Wesley, 2003. [2] Ferguson, Neils, and Bruce Schneier. Practical Cryptography. Indianapolis, IN: Wiley, Inc., 2003. [3] Stinson, Douglas R. Cryptography: Theory and Practice. 3rd ed. Boca Raton, FL: Chapman & Hall/CRC, 2006. [4] Tanenbaum, Andrew S., and Maarten V. Steen. Distributed Systems: Principles and Paradigms. 2nd ed. Upper Saddle River, NJ: Pearson Prentice Hall, 2007.