By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Study Guide for CISSP, Security+, CEH, and Real-World Security Roles
Public Key Infrastructure (PKI) is the framework that manages digital certificates and public-key encryption to secure communications, verify identities, and ensure data integrity. It’s the backbone of HTTPS, VPNs, code signing, and email encryption. Without PKI, attackers could impersonate websites (phishing), intercept traffic (MITM attacks), or forge software updates (supply chain attacks)—like the 2020 SolarWinds hack, where attackers compromised a code-signing certificate to distribute malware as a "trusted" update.
Example: When you visit https://bank.com, PKI ensures the site’s certificate is valid and issued by a trusted CA.
https://bank.com
Digital Certificate (X.509): A digital ID card that binds a public key to an entity (user, server, device). Contains:
CN=google.com
CN=DigiCert
Tools: OpenSSL (openssl x509 -in cert.pem -text), Windows CertMgr.
openssl x509 -in cert.pem -text
CA (Certificate Authority): A trusted third party that issues and signs certificates. Root CAs (e.g., DigiCert, Let’s Encrypt) are pre-installed in OS/browser trust stores.
Example: If a CA is compromised (e.g., 2011 DigiNotar breach), attackers can issue fraudulent certs for any domain.
CSR (Certificate Signing Request): A PKCS#10 file generated by a user/server to request a certificate from a CA. Contains the public key and identity info (e.g., domain name).
Command: openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
CRL (Certificate Revocation List): A blacklist of revoked certificates published by the CA. Clients check this before trusting a cert.
Example: If a private key is stolen (e.g., Heartbleed bug), the CA adds the cert to the CRL.
OCSP (Online Certificate Status Protocol): A real-time alternative to CRLs. Clients query the CA’s OCSP responder to check if a cert is revoked.
Tool: openssl ocsp -issuer ca.crt -cert server.crt -url http://ocsp.example.com
openssl ocsp -issuer ca.crt -cert server.crt -url http://ocsp.example.com
PKCS (Public Key Cryptography Standards): A set of standards by RSA Labs for PKI operations. Key ones:
PKCS#12: PFX/P12 files (stores private key + cert, password-protected).
Key Pair: A public key (shared) and private key (kept secret). Used for:
Example: If a server’s private key is leaked (e.g., 2014 Heartbleed), attackers can decrypt past/future traffic.
Certificate Pinning (HPKP): A security mechanism where a client hardcodes a server’s public key or cert to prevent MITM attacks (e.g., Google Chrome for Gmail).
Risk: If the pinned key is lost, the site breaks. Deprecated in favor of Certificate Transparency (CT).
Certificate Transparency (CT): A public log of all issued certificates (RFC 6962). Monitors for fraudulent certs (e.g., 2018 Symantec distrust).
Tools: crt.sh, Google’s CT Logs.
RA (Registration Authority): A middleman that verifies identity before a CA issues a cert. Reduces CA workload.
Example: A bank’s RA verifies a customer’s ID before requesting a cert for online banking.
HSM (Hardware Security Module): A tamper-resistant device that stores and manages private keys (e.g., AWS CloudHSM, Thales HSM).
openssl genpkey -algorithm RSA -out server.key -pkeyopt rsa_keygen_bits:2048
openssl req -new -key server.key -out server.csr
Submits the CSR to a CA (e.g., Let’s Encrypt, DigiCert).
CA Validation & Issuance
server.crt
The CA publishes the cert in Certificate Transparency logs.
Certificate Deployment
server.key
Configures the server to use TLS (e.g., SSLCertificateFile /path/to/server.crt).
SSLCertificateFile /path/to/server.crt
Client Connection & Verification
https://example.com
The client:
Secure Communication
A symmetric session key is established for encrypted communication.
Certificate Renewal/Revocation
Wrong answers: "Store it in a database" or "Use a password-protected USB drive."
Security+ Focus: Know the difference between CRL and OCSP.
OCSP: Real-time, smaller, but privacy risk (unless stapled).
CEH Angle: Attackers target weak PKI implementations (e.g., self-signed certs, expired certs, misconfigured OCSP).
Example: A MITM attack succeeds if the client ignores cert warnings.
Tricky Distinction: Certificate Pinning vs. Certificate Transparency
✅ Correct Answer: B
During a penetration test, an attacker intercepts HTTPS traffic by presenting a self-signed certificate. Which PKI control would have prevented this?
A company’s internal PKI uses a root CA and two intermediate CAs. Which of the following is the MOST secure way to store the root CA’s private key?
Final Tip: For CISSP, focus on PKI management (key storage, CA hierarchy, revocation). For Security+/CEH, know attack vectors (MITM, weak keys, misconfigured OCSP).
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.