Hoe bouw ik een PKI omgeving?
-
Upload
ngi-ngn-platform-voor-ict-professionals -
Category
Technology
-
view
427 -
download
0
description
Transcript of Hoe bouw ik een PKI omgeving?
www.brainforce.com
PKI WebinarDeel II
www.brainforce.com
Welkom
Vragen??Stel ze via chatOf via twitter #pkiwebinar?
www.brainforce.com
!!! PKI !!!
VERTROUWEN
www.brainforce.com
Agenda
Certificaat bestanden
PKI Infrastructuur
Certification Revocation List
Certification Templates
Setup
www.brainforce.com
PKI certificaten, inhoud
Certificate opbouw Version Serial Number Algorithm ID Issuer Validity
Not Before Not After
Subject Subject Public Key Info
Public Key Algorithm Subject Public Key
Issuer Unique Identifier (optional) Subject Unique Identifier (optional) Extensions (optional)
...
Certificate Signature Algorithm
Certificate Signature
www.brainforce.com
PKI Certificaten, Certificaten bestanden
Codering DER Based64 PKCS#7
Cryptographic Message Syntax Standard, Archief formaat,
PKCS#12 Personal Information Exchange Syntax Standard Archief formaat, Kan worden uitgerust met een wachtwoord,
(Windows 2012/8 ook op basis van een groepen) Private key wordt hierin opgeslagen,
PFX Voorloper PKCS#12, Microsoft,
www.brainforce.com
PKI certificaten, Extensie’s
.pem – (Privacy Enhanced Mail) Base64
.cer, .crt, DER of Base64
.der DER
.p7b, .p7c – PKCS#7
.p12 – PKCS#12,
.pfx – PFX of PKCS#12
www.brainforce.com
Agenda
Certificaat bestanden
PKI Infrastructuur
Certification Revocation List
Certification Templates
Setup
www.brainforce.com
Tier
www.brainforce.com
Offline root CA
Waarom? CA Compromise
Hoe? Uitzetten Geen netwerk
Beheer? 1x per maand onderhoud 1x per periode SubCA
www.brainforce.com
Intermediate CA
Waarom? Delegeren Extra security laag
Hoe? Online/offline? Beperkte mogelijkheden
Beheer? Domain member (?) Minimum aantal admins Beveiliging
www.brainforce.com
Issuing CA
Waarom? Deelt certificaten uit
Hoe? Online Functie specifiek NDES/OCSP
Beheer Gedelegeerd
𝐴=𝜋 𝑟2
www.brainforce.com
Certificate enrollment
Webbased Website
www.brainforce.com
Certificate enrollment
Webbased
Active Directory LDAP GPO
www.brainforce.com
Certificate enrollment
Webbased
Active Directory
Network Device Enrollment Service (NDES) Network Devices Microsoft-implementatie Simple Certificate Enrollment Protocol (SCEP)
NDES/SCEP server CA server
www.brainforce.com
Certificaten Storage
C:\Windows\System32 (Standaard)
Hardware Security Module (HSM)
www.brainforce.com
Agenda
Certificaat bestanden
PKI Infrastructuur
Certification Revocation List
Certification Templates
Setup
www.brainforce.com
Certificaten Revocation
Wat is de CRL Lijst met ingetrokken certificaten
Waarom Een certificaat is gestolen Een certificaat wordt niet langer gebruikt Er is een nieuw certificaat uitgegeven
www.brainforce.com
Certificaten Revocation
Hoe?
Certification Revocation List (CRL) Full Delta
Distributie Webserver Active Directory (LDAP) File systeem, (op disk of op een UNC path) Online Certificate Status Protocol (OCSP).
www.brainforce.com
Certificate Revocation
Geen CRL geen PKI
Hoger beschikbaar
Distributie Certutil -crl Elke nacht
Geldigheid
www.brainforce.com
Certificaten Revocation
OCSP Online Certificate Status Protocol
OCSP vs CRL
CRL OCSPLijst met alle ingetrokken certificaten Alleen de ingetrokken certificaat
Geen datum Inclusief datum
Export en distributie CRL noodzakelijk Zoekt contact met de CA
Werkt voor alle clients Werkt niet voor alle clients
www.brainforce.com
Agenda
Certificaat bestanden
PKI Infrastructuur
Certification Revocation List
Certification Templates
Setup
www.brainforce.com
PKI Templates
Identificatie, Authenticatie en autorisatie
Versleuteling van digitale objecten
Versleuteling van data verbindingen
Digitale handtekening
Templates
www.brainforce.com
PKI Templates, Identificatie, Authenticatie en Autorisatie IEEE 802.1x
Wireless
Smartcard logon
www.brainforce.com
PKI Templates, Versleuteling van digitale objecten Document encryptie
Email encryptie
Bitlocker in combinatie met een smartcard
www.brainforce.com
PKI Templates, Versleuteling van data verbindingen SSL communication
Secure LDAP
IPSec communication
www.brainforce.com
PKI Templates, Digitale handtekening
Document siging
Macro Siging
Software Siging
www.brainforce.com
PKI Templates, defineren
1. Subject Name
2. Certificate Lifetime
3. Certificate Usage.
4. Cryptography Next Generation Algorithms
5. Cryptographic Service Provider
6. Key Length
7. Smart Card Usage
8. Deployment Methods.
9. Key Archival
www.brainforce.com
PKI Templates, defineren
1. Subject Name
NL: Onderwerp Naam
Van wie is het Certificaat?
www.brainforce.nl
CN=Gebruiker01
Computer.netwerk.local
www.brainforce.com
PKI Templates, defineren
1. Subject Name
2. Certificate Lifetime
3. Certificate Usage.
4. Cryptography Next Generation Algorithms
Version 1 Alle Windows versie’s Kunnen niet aangepast worden
Version 2 Vanaf Windows 2003 Kunnen aangepast worden
Version 3 Vanaf Windows 2008 Crypto Next Generation (CNG) algorithms
www.brainforce.com
PKI Templates, defineren
1. Subject Name
2. Certificate Lifetime
3. Certificate Usage.
4. Cryptography Next Generation Algorithms
5. Cryptographic Service Provider
Key request
CSP Key creation
Key distrubution
Client CSP API
www.brainforce.com
PKI Templates, defineren
1. Subject Name
2. Certificate Lifetime
3. Certificate Usage.
4. Cryptography Next Generation Algorithms
5. Cryptographic Service Provider
6. Key Length
Hoe groot zijn de sleutels
Minimaal 1024
Huidige standaard 2048 Let op!! Windows voor XP SP3 hebben een probleem met deze certificaten.
www.brainforce.com
PKI Templates, defineren
1. Subject Name
2. Certificate Lifetime
3. Certificate Usage.
4. Cryptography Next Generation Algorithms
5. Cryptographic Service Provider
6. Key Length
7. Smart Card Usage
8. Deployment Methods.
9. Key Archival
Private key archiveren
Private exporteren
www.brainforce.com
Agenda
Certificaat bestanden
PKI Infrastructuur
Certification Revocation List
Certification Templates
Setup
www.brainforce.com
PKI Design
Tier Hoeveel Functie CA’s
CRL Infrastructuur Waar Distributie
Certificaten Templates
Welke, Wie, Waar Distributie
Web, LDAP, NDES enz
Server Setup Versie Storage Beveiliging
www.brainforce.com
Versie, Windows
Windows 2008 R2 Standard
Windows 2008 R2 Ent.
Windows 2012
AD CS
NDES
OCSP
Web interface
Web Service
Web Service Policy
www.brainforce.com
Linux
OpenSSL
DogTag
EJBCA
gnoMint
OpenCA Labs
www.brainforce.com
Setup
Powershell
ServerManager
www.brainforce.com
Config SubCA
Import Root certificaat certutil -dspublish -f "ROOTCA.crl" RootCA certutil -dspublish -f "RootCA.crt” RootCA Distribueer naar CRL locatie
“Request” een SubCA certificaat
Installeer het “antwoord”
www.brainforce.com
Setup
- Windows 2012 Standaard- Offline, RootCA, Workgroup- Online, SubCA, Domain (ngn.nl)