Public Key Infrastructure, X.509 Digital Certificates

Master the exact symmetry reversal between Asymmetric Encryption (for Confidentiality) and Digital Signatures (for Integrity.

What to practice

  • Contrast the key pairs used for asymmetric confidentiality vs. cryptographic digital signatures.
  • Explain how X.509 certificates, Root/Intermediate Certificate Authorities (CAs), CSRs, CRLs, and OCSP stapling operate in PKI.
  • Trace the TLS 1.3 handshake and explain Perfect Forward Secrecy (PFS) using ephemeral Diffie-Hellman (ECDHE).

1. Core Concept Instruction

Master the exact symmetry reversal between Asymmetric Encryption (for Confidentiality) and Digital Signatures (for Integrity, Authenticity, and Non-Repudiation): (1) Confidential Message (Alice -> Bob): Alice encrypts with BOB'S PUBLIC KEY; Bob decrypts with BOB'S PRIVATE KEY. (2) Digital Signature (Alice signs a document): Alice computes a SHA-256 hash of the document and encrypts (signs) that hash using ALICE'S PRIVATE KEY; any recipient verifies the signature by decrypting the signed hash using ALICE'S PUBLIC KEY and comparing it to a fresh SHA-256 hash of the document! How do we know a public key truly belongs to skillbyskillprep.com and not a Man-in-the-Middle attacker? Public Key Infrastructure (PKI) binds a domain name to its public key inside an X.509 Digital Certificate that is digitally signed by a trusted Certificate Authority (CA). Clients check certificate validity dates and revocation status via CRL (Certificate Revocation List) or OCSP (Online Certificate Status Protocol).

2. Worked Examples

Worked Digital Signature + Confidential Envelope (Dual Asymmetric Workflow)

Alice wants to send a contract to Bob over the Internet so that (1) ONLY Bob can read the contract (Confidentiality) and (2) Bob can mathematically prove the contract came from Alice and was not altered (Authenticity, Integrity & Non-Repudiation). Trace the exact keys used in order.

Result:

TLS 1.3 Ephemeral Diffie-Hellman (ECDHE) & Perfect Forward Secrecy (PFS)

An adversary records encrypted HTTPS traffic to a hospital portal today and steals the server's long-term RSA private key two years later.

Result: ECDHE provides Perfect Forward Secrecy (PFS), protecting past recorded sessions even if long-term keys leak later

Core Concept Review

Master the exact symmetry reversal between Asymmetric Encryption (for Confidentiality) and Digital Signatures (for Integrity, Authenticity, and Non-Repudiation): (1) Confidential Message (Alice -> Bob): Alice encrypts with BOB'S PUBLIC KEY; Bob decrypts with BOB'S PRIVATE KEY. (2) Digital Signature (Alice signs a document): Alice computes a SHA-256 hash of the document and encrypts (signs) that hash using ALICE'S PRIVATE KEY; any recipient verifies the signature by decrypting the signed hash using ALICE'S PUBLIC KEY and comparing it to a fresh SHA-256 hash of the document! How do we know a public key truly belongs to skillbyskillprep.com and not a Man-in-the-Middle attacker? Public Key Infrastructure (PKI) binds a domain name to its public key inside an X.509 Digital Certificate that is digitally signed by a trusted Certificate Authority (CA). Clients check certificate validity dates and revocation status via CRL (Certificate Revocation List) or OCSP (Online Certificate Status Protocol).

Extended Concept Analysis

Master the exact symmetry reversal between Asymmetric Encryption (for Confidentiality) and Digital Signatures (for Integrity, Authenticity, and Non-Repudiation): (1) Confidential Message (Alice -> Bob): Alice encrypts with BOB'S PUBLIC KEY; Bob decrypts with BOB'S PRIVATE KEY. (2) Digital Signature (Alice signs a document): Alice computes a SHA-256 hash of the document and encrypts (signs) that hash using ALICE'S PRIVATE KEY; any recipient verifies the signature by decrypting the signed hash using ALICE'S PUBLIC KEY and comparing it to a fresh SHA-256 hash of the document! How do we know a public key truly belongs to skillbyskillprep.com and not a Man-in-the-Middle attacker? Public Key Infrastructure (PKI) binds a domain name to its public key inside an X.509 Digital Certificate that is digitally signed by a trusted Certificate Authority (CA). Clients check certificate validity dates and revocation status via CRL (Certificate Revocation List) or OCSP (Online Certificate Status Protocol).

Worked Problem Walkthrough

Worked Digital Signature + Confidential Envelope (Dual Asymmetric Workflow)

Alice wants to send a contract to Bob over the Internet so that (1) ONLY Bob can read the contract (Confidentiality) and (2) Bob can mathematically prove the contract came from Alice and was not altered (Authenticity, Integrity & Non-Repudiation). Trace the exact keys used in order.

TLS 1.3 Ephemeral Diffie-Hellman (ECDHE) & Perfect Forward Secrecy (PFS)

An adversary records encrypted HTTPS traffic to a hospital portal today and steals the server's long-term RSA private key two years later.

Common Exam Traps & How to Avoid Them

  • Saying a sender creates a digital signature using the sender's public key (a digital signature MUST be created with the sender's PRIVATE key so no one else can forge it!).

  • Thinking a self-signed certificate prevents Man-in-the-Middle attacks on the public Internet (anyone can generate a self-signed certificate; trust requires a signature from a trusted Root/Intermediate CA).

Key Vocabulary

  • Non-Repudiation: The cryptographic assurance (via a private-key digital signature) that the sender of a message cannot later deny having sent and signed it.

  • Perfect Forward Secrecy (PFS): A key-exchange property (provided by ephemeral ECDHE) ensuring that even if a server's long-term private key is compromised in the future, past recorded TLS sessions cannot be decrypted.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .