• No results found

PUBLIC-KEY CERTIFICATES

N/A
N/A
Protected

Academic year: 2021

Share "PUBLIC-KEY CERTIFICATES"

Copied!
21
0
0

Loading.... (view fulltext now)

Full text

(1)

INFS 766

Internet Security Protocols

Lecture 6

Digital Certificates

Prof. Ravi Sandhu

PUBLIC-KEY CERTIFICATES

™

reliable distribution of public-keys

™

public-key encryption

¾sender needs public key of receiver

™

public-key digital signatures

¾receiver needs public key of sender

™

public-key key agreement

(2)

3 © Ravi Sandhu 2000-2004

THE CERTIFICATE

TRIANGLE

user attribute public-key X.509 identity certificate X.509 attribute certificate SPKI certificate

X.509 CERTIFICATE

VERSION SERIAL NUMBER SIGNATURE ALGORITHM ISSUER VALIDITY SUBJECT

(3)

5 © Ravi Sandhu 2000-2004

X.509 CERTIFICATE

0 1234567891011121314 RSA+MD5, 512

C=US, S=VA, O=GMU, OU=ISE 9/9/99-1/1/1

C=US, S=VA, O=GMU, OU=ISSE, CN=Ravi Sandhu RSA, 1024, xxxxxxxxxxxxxxxxxxxxxxxxx

SIGNATURE

CERTIFICATE TRUST

™

how to acquire public key of the

issuer to verify signature

™

whether or not to trust certificates

signed by the issuer for this subject

(4)

7

© Ravi Sandhu 2000-2004

PEM CERTIFICATION GRAPH

Internet Policy Registration Authority Policy Certification Authorities (PCAs) HIGH ASSURANCE MID-LEVEL

ASSURANCE RESIDENTIAL PERSONA

Certification Authorities (CAs) Abrams Sandhu Subjects Sandhu LEO IPRA MITRE GMU ISSE Virginia Fairfax Anonymous

CRL FORMAT

SIGNATURE ALGORITHM ISSUER LAST UPDATE NEXT UPDATE REVOKED CERTIFICATES SIGNATURE

(5)

9

© Ravi Sandhu 2000-2004

PGP BOTTOM UP

TRUST MODEL

™

How does Alice get Bob’s public key

¾directly from Bob through some secure

channel (e.g., post, phone, floppy)

¾from Chuck, who is known to both Alice and Bob and introduces Bob to Alice ¾from a trusted certifying authority

™

PGP has mechanisms to support

these, and related, alternatives

X.509 CERTIFICATES

™

X.509v1

¾very basic

™

X.509v2

¾adds unique identifiers to prevent against reuse of X.500 names

™

X.509v3

¾adds many extensions ¾can be further extended

(6)

11

© Ravi Sandhu 2000-2004

SEPARATE KEYS FOR

SEPARATE PURPOSES

™

RSA is the only known public-key

cryptosystem in which the same

public-private key pair can be used for

¾digital signatures

¾encryption

™

perceived as a major advantage

SIGNATURE KEYS

™ private key: must be private for entire life, may never leave smart card

¾ needs to be securely destroyed after lifetime

¾ no need for backup or archiving (would conflict with above)

¾ no need to weaken or escrow due to law

™ public key: must be archive possibly for a long time

(7)

13

© Ravi Sandhu 2000-2004

ENCRYPTION KEY

™ private key: backup or archive required for recovery

¾ should not be destroyed after lifetime

¾ may be weakened/escrowed due to law

™ public key:

¾ no need to backup RSA or other encryption keys

¾ need to backup Diffie-Hellman key agreement keys

X.509 INNOVATIONS

™ distinguish various certificates

¾ signature, encryption, key-agreement

™ identification info in addition to X.500 name

™ name other than X.500 name

¾ email address

™ issuer can state policy and usage

¾ good enough for casual email but not good enough for signing checks

™ limits on use of signature keys for further certification

(8)

15

© Ravi Sandhu 2000-2004

X.509v3 EXTENSIONS

™

X.509v3 same as X.509v2 but adds

extensions

™

provides a general extension

mechanism

¾extension type: registered just like an algorithm is registered

¾standard extension types: needed for interoperability

X.509v3 EXTENSIONS

CRITICALITY

™

non-critical: extension can be

ignored by certificate user

¾alternate name can be non-critical

™

critical : extension should not be

ignored by certificate user

¾limit on use of signatures for further certification

(9)

17

© Ravi Sandhu 2000-2004

X.509v3 EXTENSIONS

CRITICALITY

™ criticality is flagged by certificate issuer

¾ certificate user may consider non-critical extensions more important than critical ones

¾ certificate user may refuse to use certificate if some extensions are missing

™ critical extensions should be few and should be standard

X.509v3 NAMES

™ internet email address ™ internet domain name

™ web uri (url's are subset of uri) ™ IP address

™ X.400 email address ™ X.500 directory name ™ registered identifier ™ other name

(10)

19

© Ravi Sandhu 2000-2004

X.509v3 STANDARD

EXTENSIONS

™

Key and policy information

™

Subject and issuer attributes

™

Certification path constraints

™

Extensions related to CRLs

¾will be discussed with CRLs

KEY AND POLICY

INFORMATION

™ key usage

¾ critical: intended only for that purpose, limits liability of CA

¾ non-critical: advisory to help find the correct key, no liability implication

™ private-key usage period

¾ certificate valid for 2 years for verifying signature

¾ key valid only for one year for signing

™ certificate policies

(11)

21

© Ravi Sandhu 2000-2004

SUBJECT AND ISSUER

ATTRIBUTES

™

Subject alternative names

™

Issuer alternative names

™

Subject directory attributes

¾whatever you like

¾position, phone, address etc.

CERTIFICATION PATH

CONSTRAINTS

™ Basic Constraints

¾ can or cannot act as CA

¾ if canact as CA limit on certification path

limit=1 means cannot certify other CAs ™ Name Constraints

¾ limits names of subjects that this CA can issue certificates for

™ Policy Constraints

(12)

23

© Ravi Sandhu 2000-2004

™

CRLs issued periodically as per CA

policy

¾off-cycle CRLs may also be needed ¾blank CRLs can be issued

CERTIFICATE REVOCATION

LISTS

™

CRL distribution

¾pull method ¾push method ™

DMS example

¾pull method with push for compromised key list (CKL) which is broadcast via secure email, single CKL for entire

CERTIFICATE REVOCATION

LISTS

(13)

25

© Ravi Sandhu 2000-2004

™

immediate or real-time revocation

¾needs query to CA on every certificate

use

¾maybe ok for small closed communities

CERTIFICATE REVOCATION

LISTS

REVOCATION TIME-LINE

Issue Of CRL 1 Compromise Event Revocation Request Revocation Time Issue Of CRL 2

(14)

27

© Ravi Sandhu 2000-2004

OCSP

ON-LINE CERTIFICATE STATUS PROTOCOL

™

consult authoritative server

™

the server in turn can look up CRLs

SHORT-LIVED

CERTIFICATES

™

Authorization certificates can be

short lived

¾minutes, hours, days instead of ¾months, years

(15)

29 © Ravi Sandhu 2000-2004

X.509 CRL EXTENSIONS

™

General Extensions

™

CRL distribution points

™

Delta-CRLs

™

Indirect-CRLs

™

Certificate Suspension

GENERAL EXTENSIONS

™ Reason Code ¾ Key Compromise ¾ CA Compromise ¾ Affiliation changed ¾ Superseded ¾ Cessation of operation

¾ Remove from CRL: defer till Delta-CRL

¾ Certificate hold: defer

(16)

31

© Ravi Sandhu 2000-2004

CRL DISTRIBUTION POINTS

™ CRLs can get very big

¾ version 1 CRL (1988, 1993)

each CA has two CRLs: one for end users, one for CAsend user CRL can still be very big

¾ version 2 CRL

can partition certificates, each partition associated

with one CRL

distribution point

also can have different distribution points for different

revocation reasons

CRL DISTRIBUTION POINTS

™

certificate extension field, says

where to look

™

CRL extension field

¾distribution point for this CRL and limits on scope and reason of revocation

¾protects against substitution of a CRL from one distribution point to another

(17)

33

© Ravi Sandhu 2000-2004

DELTA-CRLs

™

Delta CRL indicator

¾only carries changes from previous CRL

™

Remove from CRL reason code

causes purge from base CRL (stored

at certificate user)

™

removal due to expiry of validity

period or restoration of suspension

INDIRECT-CRL

™

CRL can be issued by different CA

than issuer of certificate

¾allows all compromise revocations to be one list

¾allows all CA revocations to be on one list (simplify certificate chasing)

(18)

35

© Ravi Sandhu 2000-2004

CERTIFICATE SUSPENSION

™

Certificate hold reason code in CRL

™

Supporting CRL entry extension

¾Instruction code: instructions on what

to do with held certificate

call CA, repossess token

GENERAL HIERARCHICAL

STRUCTURE

Z X Q A Y R S T C E G I K M O

(19)

37

© Ravi Sandhu 2000-2004

GENERAL HIERARCHICAL

STRUCTURE WITH ADDED LINKS

Z X Q A Y R S T C E G I K M O a b c d e f g h i j k l m n o p

TOP-DOWN HIERARCHICAL

STRUCTURE

Z X Q A Y R S T C E G I K M O a b c d e f g h i j k l m n o p

(20)

39

© Ravi Sandhu 2000-2004

PEM CERTIFICATION GRAPH

Internet Policy Registration Authority Policy Certification Authorities (PCAs) HIGH ASSURANCE MID-LEVEL

ASSURANCE RESIDENTIAL PERSONA

Certification Authorities (CAs) Abrams Sandhu Subjects Sandhu LEO IPRA MITRE GMU ISSE Virginia Fairfax Anonymous

SET CA HIERARCHY

Root Brand Brand Brand Geo-Political Bank Acquirer

(21)

41

© Ravi Sandhu 2000-2004

References

Related documents

Модель даних Модель даних побудовано на ґрунті п’яти класів даних: 1 Джерела даних, до яких відносяться дані про: категорії та технічний

The Sustainable Value Proposition Builder is a new tool developed to support the development and com- munication of value propositions to multiple stakeholders participating in

According to the Interview Guide for Functional Assessment completed by a teacher, what the function of the problem behavior and when is it most likely to occur.. Analyze all

Potential sources of finance for the small scale enterprises include commercial banks, non- bank financial institutions, non-governmental organizations (NGOs), multilateral

The attention now being paid to collateral consequences is most assuredly welcome. Missing from the reappraisal, however, is attention to the range of informal consequences

Conservative management only should be carried out and injured teeth monitored radiographically and with appropriate pulp tests for signs of pulpal necrosis. In the absence of

Un modelo de ahusamiento debiera tener los atributos siguientes: i) ser diferenciable en toda la longitud del fuste, ii) no generar oscilaciones alrededor de la

Physical environment findings indicate housing type and tenure have a strong influence on African American elders’ overall