Download - Microsoft PKI and Certificate Services

Transcript
Page 1: Microsoft PKI and Certificate Services

Microsoft PKI and Certificate

Services

Shane Hartman, GCIA, GREM, CISSP

Secure Info Systems

Page 2: Microsoft PKI and Certificate Services

• What are Certificates for

• Certificate Services Overview

• Requirements

• Certification Hierarchy

– One Tier

– Two Tier

– Multi Tier

• Server Setup

• Managing Certificates

• Requesting and Issuing Certificates

Page 3: Microsoft PKI and Certificate Services

What can you use certificates for

• SSL for Internal Web Servers

• Encrypting file system

• Authentication with Smart Cards

• Securing Email (Encrypting / Signing)

• VPN Authentication

• 802.1x Authentication (Wireless, NAP)

• Document and Code Signing

Page 4: Microsoft PKI and Certificate Services

Overview

• Certificate Authorities are used to issue

certificates to users, computers, and services

• CA Services

– Web Enrollment

– The Online Responder

– Network Device Enrollment Service

Page 5: Microsoft PKI and Certificate Services

Web Enrollment

• Web Enrollment: Allows users to users to connect

to a CA by a web browser to:

– Request certificates and review certificate requests

– Retrieve Certificate Revocation Lists (CRLs)

– Perform Smart Card certificate enrollment

Page 6: Microsoft PKI and Certificate Services

Online Responder

• The Online Responder implements the Online

Certificate Status Protocol (OCSP) which

– Checks revocation status and sending back

responses

Page 7: Microsoft PKI and Certificate Services

Network Device Enrollment

• Network Device Enrollment allows routers and

other network devices to obtain certificates

• It uses (SCEP), or Simple Certificate Enrollment

Protocol

Page 8: Microsoft PKI and Certificate Services

Requirements (Windows 2008)

Componets Web Standard Enterprise Datacenter

CA X X X

Network Device Enrollment X X

Online Responder X X

Version 2 and 3 certificates X X

Templates X X

Key archival X X

Role Separation X X

Certificate Manager Restrictions X X

Delegates Enrollment Agent Restrictions X X

Page 9: Microsoft PKI and Certificate Services

Certification Hierarchy – One Tier

• Easy to manage

• Lacks redundancy – If CA Fails

– Can’t process incoming certificate requests or

renewals

– Can’t process certificate revocation lists

Page 10: Microsoft PKI and Certificate Services

Certification Hierarchy – Two Tier

• Usually contains an off-line root

• One or more policy/issuing CA’s for redundancy

• Secures the root CA from compromise

Page 11: Microsoft PKI and Certificate Services

Certification Hierarchy – Multi-Tier • Multi-Tier involves three of more levels

• Distribution can be organized by

– Geography, Function, etc.

Page 12: Microsoft PKI and Certificate Services

Installing Certificate Server

Page 13: Microsoft PKI and Certificate Services

Things to note before starting

Page 14: Microsoft PKI and Certificate Services

Select which roles for the CA

Page 15: Microsoft PKI and Certificate Services

Select the CA Server Type

Page 16: Microsoft PKI and Certificate Services

Set the CA role in the cert chain

Page 17: Microsoft PKI and Certificate Services

Choose Key Type

Page 18: Microsoft PKI and Certificate Services

Configure Encryption Type

Page 19: Microsoft PKI and Certificate Services

Select key length and hash for certs

Page 20: Microsoft PKI and Certificate Services

Name the CA

Page 21: Microsoft PKI and Certificate Services

Set the CA validity period – Default is 5

Page 22: Microsoft PKI and Certificate Services

Set the CA database

Page 23: Microsoft PKI and Certificate Services

Confirm Settings

Page 24: Microsoft PKI and Certificate Services

Managing Certificates

• Now that you have a server setup what can you

do

• Manage and Issue certificates

• Managing certificates involves:

– Determining if you want to use the canned templates

or copy and modify the templates

– Telling the certificate server what certificates it is

allowed to issue

Page 25: Microsoft PKI and Certificate Services

Determine if you want to use canned templates

• Certificate server comes with series of canned templates

allowing for authentication, encryption, etc.

Page 26: Microsoft PKI and Certificate Services

Which certificates allowed to issue

• Just because you have the template doesn’t mean you can

issue its cert type.

• You have to publish it for issue

Page 27: Microsoft PKI and Certificate Services

Requesting and Issuing Certificates

• Three ways to get certificates issues

– Request it through web site

– Request it through certificates MMC

– Get it requested on your behalf

Page 28: Microsoft PKI and Certificate Services

Request through website

• If installed an IIS website at

– http://<server name>/certsvr

Page 29: Microsoft PKI and Certificate Services

Request through website II

Page 30: Microsoft PKI and Certificate Services

Request it through certificates MMC

• On the client machine run MMC and add

certificates snap-in

Page 31: Microsoft PKI and Certificate Services

Request it through certificates MMC

Page 32: Microsoft PKI and Certificate Services

Request it through certificates MMC

• Finally you will be able to see the certificate in

your repository