Cryptography
Cryptography
–
–
–
–
•
–
–
–
–
•
–
–
–
•
–
•
–
–
–
•
–
•
•
•
–
–
–
•
–
–
•
–
–
–
–
•
•
•
Cross-certification
Certification Certification
Subordinate CA
path path
Sub CA1.1 Sub CA1.2 Sub CA2.1
CA certificate path
Certification
EE End entity (subject)
path
EE EE EE EE
•
–
•
–
•
–
•
–
•
–
•
–
•
–
•
–
•
–
C=US Employee HR
C=US Country system
O=US Government Organization
O=US Government
OU=Department of the Interior Organizational Unit
Secure E-mail
CN=Alice CN=Alice CN=Alice (S/MIME)
Cryptographer Cryptographer Cryptographer
•
–
–
–
– Department of
Security
(DHS)
Government Principal CA
Subordinate CA
Justice (DoJ)
- FBI
Bridge cross
Bridge CA certificate pair
– CA certificate
Principal CA
USGS
(A Subordinate CA) FWS
(A Subordinate CA)
NPS
PIV Card Reader (A Subordinate CA)
OSM
` (A Subordinate CA)
DOI User
User Workstation
Local CA
BOR
AD/DC (A Subordinate CA)
NBC
(A Subordinate CA)
Fingerprint Scanner
• Data:
Version: 3 (0x2)
•
Serial Number: 1 (0x1)
Signature Algorithm: md5WithRSAEncryption
Issuer: C=ZA, ST=Western Cape, L=Cape Town, O=Thawte
• Consulting cc,
OU=Certification Services Division,
CN=Thawte Server CA/[email protected]
• Validity
Not Before: Aug 1 00:00:00 1996 GMT
– 68:75:47:a2:aa:c2:da:84:25:fc:a8:f4:47:51:da:
85:b5:20:74:94:86:1e:0f:75:c9:e9:08:61:f5:06:
6d:30:6e:15:19:02:e9:52:c0:62:db:4d:99:9e:e2:
– 6a:0c:44:38:cd:fe:be:e3:64:09:70:c5:fe:b1:6b:
29:b6:2f:49:c8:3b:d4:27:04:25:10:97:2f:e7:90:
• 6d:c0:28:42:99:d7:4c:43:de:c3:f5:21:6d:54:9f:
5d:c3:58:e1:c0:e4:d9:5b:b0:b8:dc:b4:7b:df:36:
•
3a:c2:b5:66:22:12:d6:87:0d
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints: critical
CA:TRUE
•
•
–
–
–
•
–
•
–
•
–
–
–
–
•
–
–
–
–
•
–
–
•
–
–
–
–
•
–
–
•
–
–
–
–
–
–
•
–
–
–
–
–
–
•
–
–
–
• User Verisign
(Principal CA)
Online Merchant
– John Doe
`
Home PC
–
Principle CA/RA Web Server
Web Server’s
Request validates the
–
Certificate
certificate path
–
Client Web Container Server Web Container
Secure Pipe
Message (SSL/TLS) Message
• client hello
server hello
certificate
certificate
certificate verification
– finished
finished
– Application Data...
–
•
Remote Client Server
–
(with embedded support for (with embedded support for
SSL/TLS) SSL/TLS)
SSLv3/TLSv1 SSLv3/TLSv1
•
SSL/TLS encrypted
payload using e.g.
2048 RSA, 3DES
–
Remote Client DOI ESN Networks
–
Server Applications Server Applications
SSLv3/TLSv1 SSLv3/TLSv1
client hello
server hello
certificate
certificate
certificate verification
finished
finished
Application Data...
•
•
–
•
–
IPsec Module 1 IPsec Module 2
IPsec Key
Exchange (IKE)
ISAKMP ISAKMP
Application
Layer
Security
Security
Association (SA)
Security Transport
IPSP IPSP
Association Association Layer
Database Database
AH protection
ESP protection
–
–
–
–
Bits
0 4 8 12 16 20 24 28 31
1 Next Header Payload Length Reserved
3 Sequence Number
–
Bits
–
0 4 8 12 16 20 24 28 31
1 Security Parameters Index (SPI)
2 Sequence Number
–
Words
3 Payload Data (variable)
–
•
–
–
–
–
•
–
–
• Host
Application
SSH Client
Client
Target
Application
SSH Server
•
Server
–
•
–
•
•
–
•
•
–
–
–
–
–
•
–
•
–
–
–
•
–
•
–
–
–
Users Directory Service Principle CA SOA Components
`
Sponsor
User Wks Identity Mgmt Srvr Certification Authority Web Server App. Server
•
(IdM) (CA) &
Web Service Policy Mgmt.
–
–
•
–
–
•
–
–
–
•
–
–
–
CRL
•
CRL
•
•
EE1
EE2 EE3 EE4 EE5
EE5 EE2
EE2 EE3 EE4 EE1 EE1
Certification
paths
CA certificate path
EE4 EE3
EE1 EE2 EE3 EE1 EE2
• Certificate:
Data:
Version: 3 (0x2)
– Validity
Not Before: Aug 1 00:00:00 1996 GMT
–
Not After : Dec 31 23:59:59 2020 GMT
Subject: C=ZA, ST=Western Cape, L=Cape Town, O=Thawte
Consulting cc,
–
OU=Certification Services Division,
CN=Thawte Server CA/[email protected]
Subject Public Key Info:
–
Public Key Algorithm: rsaEncryption
RSA Public Key: (1024 bit)
Modulus (1024 bit):
• 00:d3:a4:50:6e:c8:ff:56:6b:e6:cf:5d:b6:ea:0c:
68:75:47:a2:aa:c2:da:84:25:fc:a8:f4:47:51:da:
•
85:b5:20:74:94:86:1e:0f:75:c9:e9:08:61:f5:06:
6d:30:6e:15:19:02:e9:52:c0:62:db:4d:99:9e:e2:
6a:0c:44:38:cd:fe:be:e3:64:09:70:c5:fe:b1:6b:
– 29:b6:2f:49:c8:3b:d4:27:04:25:10:97:2f:e7:90:
6d:c0:28:42:99:d7:4c:43:de:c3:f5:21:6d:54:9f:
5d:c3:58:e1:c0:e4:d9:5b:b0:b8:dc:b4:7b:df:36:
– 3a:c2:b5:66:22:12:d6:87:0d
Exponent: 65537 (0x10001)
X509v3 extensions:
• X509v3 Basic Constraints: critical
CA:TRUE
–
a8:6f:49:1a:e6:da:51:e3:60:70:6c:84:61:11:a1:1a:c8:48:
3e:59:43:7d:4f:95:3d:a1:8b:b7:0b:62:98:7a:75:8a:dd:88:
4e:4e:9e:40:db:a8:cc:32:74:b9:6f:0d:c6:e3:b3:44:0b:d9:
8a:6f:9a:29:9b:99:18:28:3b:d1:e3:40:28:9a:5a:3c:d5:b5:
e7:20:1b:8b:ca:a4:ab:8d:e9:51:d9:e2:4c:2c:59:a9:da:b9:
b2:75:1b:f6:42:f2:ef:c7:f2:18:f9:89:bc:a3:ff:8a:23:2e:
– 70:47
•
–
–
–
•
–
–