Workshop-Wiki · Englisch

Certificate Authority Workshop: Advanced + Security – Exercises with Solutions

Goal is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Workshop-Beispiele als ZIP
Lernstand in der Web-App

Kapitel als gelesen markieren, Lesefortschritt sehen und Praxismodule abhaken: Diese Funktionen stehen nach Aktivierung der optionalen Web-App zur Verfügung. Der Workshop-Fortschritt ergibt sich automatisch aus den Kapiteln aller Dokumentseiten. Deine Auswahl bleibt auf diesem Gerät; es gibt kein Konto und keinen Serverabgleich. Eine Installation ist nicht erforderlich. Beim Widerruf in den Datenschutz-Einstellungen wird der Lernstand gelöscht.

Lesefortschritt0%
0%
0 / 19 Kapitel gelesen
Weitere SprachfassungDeutsch ↗Griechisch ↗

Certificate Authority Workshop: Advanced + Security – Exercises with Solutions

1. Goal

Goal is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Goal

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Goal

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Goal

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

01 / 19

2. Scenario

Scenario is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Scenario

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Scenario

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Scenario

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

02 / 19

3. Working Rules

Working Rules is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Working Rules

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Working Rules

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Working Rules

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

03 / 19

4. Task Overview

Task Overview is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Task Overview

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Task Overview

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Task Overview

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

Nr. Thema Ergebnis
1 Threat Modeling OpenSSL artifact, evidence, and cleanup
2 Offline Root OpenSSL artifact, evidence, and cleanup
3 HSM/KMS OpenSSL artifact, evidence, and cleanup
4 Key Ceremony OpenSSL artifact, evidence, and cleanup
5 Policy CP/CPS OpenSSL artifact, evidence, and cleanup
6 Misissuance OpenSSL artifact, evidence, and cleanup
7 Revocation Incident OpenSSL artifact, evidence, and cleanup
8 Trust Store Abuse OpenSSL artifact, evidence, and cleanup
9 Audit OpenSSL artifact, evidence, and cleanup
10 Recovery OpenSSL artifact, evidence, and cleanup
04 / 19

5. Part A: Tasks

Part A: Tasks is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Part A: Tasks

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Part A: Tasks

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Part A: Tasks

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

05 / 19

Exercise 1: Threat Modeling

Threat Modeling is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Threat Modeling

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Threat Modeling

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Threat Modeling

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

06 / 19

Exercise 2: Offline Root

Offline Root is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Offline Root

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Offline Root

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Offline Root

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

07 / 19

Exercise 3: HSM/KMS

HSM/KMS is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for HSM/KMS

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for HSM/KMS

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for HSM/KMS

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

08 / 19

Exercise 4: Key Ceremony

Key Ceremony is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Key Ceremony

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Key Ceremony

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Key Ceremony

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

09 / 19

Exercise 5: Policy CP/CPS

Policy CP/CPS is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Policy CP/CPS

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Policy CP/CPS

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Policy CP/CPS

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

10 / 19

Exercise 6: Misissuance

Misissuance is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Misissuance

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Misissuance

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Misissuance

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

11 / 19

Exercise 7: Revocation Incident

Revocation Incident is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Revocation Incident

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Revocation Incident

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Revocation Incident

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

12 / 19

Exercise 8: Trust Store Abuse

Trust Store Abuse is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Trust Store Abuse

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Trust Store Abuse

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Trust Store Abuse

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

13 / 19

Exercise 9: Audit

Audit is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Audit

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Audit

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Audit

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

14 / 19

Exercise 10: Recovery

Recovery is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Recovery

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Recovery

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Recovery

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

15 / 19

6. Part B: Model Solutions

Part B: Model Solutions is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Part B: Model Solutions

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Part B: Model Solutions

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Part B: Model Solutions

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

16 / 19

7. Rubric

Rubric is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Rubric

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Rubric

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Rubric

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.

17 / 19

8. Cleanup

Cleanup is treated as a reviewable PKI building block. The important point is not merely that a command creates a certificate, but that purpose, extensions, trust chain, validity, key usage, and cleanup are understandable.

Review Question Expectation
Which entity is protected? Host, service, client, CA, or workload is named.
Who is issuer and who is subject? openssl x509 -issuer -subject is documented.
Which extensions are critical? SAN, Key Usage, EKU, and Basic Constraints are checked.
How is trust established? Chain file and trust anchor are explicit.
How is revocation handled? CRL, OCSP, or a justified lab boundary is documented.
bash
openssl x509 -in certs/server.crt -noout -subject -issuer -dates
openssl x509 -in certs/server.crt -noout -text | sed -n '/X509v3 extensions:/,/Signature Algorithm/p'
openssl verify -CAfile certs/chain.pem certs/server.crt

A good solution also states whether it is a private lab PKI, an internal enterprise PKI, or publicly trusted TLS. Publicly trusted certificates have additional CA/Browser Forum Baseline Requirements; a lab CA workshop does not replace those requirements.

Practice and Review Expectation for Cleanup

  • Private keys are generated only in the lab and are not committed.
  • Configurations use dummy DNs and documentation domains.
  • CA certificates have CA:TRUE; end-entity certificates have CA:FALSE.
  • Server certificates contain SANs; Common Name is not used as the only hostname check.
  • The chain is verified with OpenSSL, not only inspected visually.
  • Expiry, renewal, and revocation are documented as a lifecycle.
  • Security topics describe attack surface, detection, and recovery.

Common Mistakes for Cleanup

Failure Cause Diagnosis
unable to get local issuer certificate chain or trust anchor missing openssl verify -show_chain
hostname mismatch SAN missing or wrong DNS name openssl x509 -text and client test
key mismatch CSR, key, and certificate mixed up compare public-key fingerprints
CA cannot sign wrong Basic Constraints or Key Usage inspect extensions
revocation ineffective CRL/OCSP not published or not checked inspect CRL Distribution Point and client behavior

Submission Example for Cleanup

text
submission/
  openssl/root-openssl.cnf
  openssl/intermediate-openssl.cnf
  csr/server.csr
  certs/server.crt
  certs/chain.pem
  evidence.md
  cleanup.md

Evidence contains relevant OpenSSL output, not private keys.


18 / 19

Practice Appendix: CA Evidence for this exercise

This appendix makes the file more complete as workshop material: it connects the topic with repeatable evidence, review questions, operational decisions and security expectations. The points are not invented product features; they are real review criteria for PKI work with X.509, OpenSSL and common CA operating models.

A.1 Scope and Boundary

Every CA task starts by separating a private lab PKI, an internal enterprise PKI and publicly trusted server certificates. That distinction changes responsibilities, audit requirements, validity periods, revocation handling and which clients may trust the certificate.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.2 Trust Model

The trust model states which root is distributed as trust anchor, which intermediates may sign and which relying parties evaluate the chain. Without that model a technically valid certificate can still be operationally unclear.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.3 Root CA Handling

A root CA is a local learning artifact in this workshop. In real environments the root key is kept offline or in an HSM and controlled through ceremonies, separated roles, logs and recovery plans.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.4 Intermediate CA Operations

Intermediate CAs are the operational signing layer. Their certificates need CA:TRUE, keyCertSign, cRLSign, suitable path length constraints and a clear lifecycle and rotation plan.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.5 Registration Authority

The RA or approval function decides whether a request may be signed. For internal servers this means at least system owner, DNS name, environment, purpose, lifetime, responsible team and change window are traceable.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.6 Private Key Protection

Private keys are the most sensitive PKI asset. Repositories should contain configurations, CSRs, public certificates and evidence only. Keys are created below work/ in labs or in protected systems and are not committed.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.7 CSR Review

A CSR proves possession of a private key, but not authorization for a name. Review the subject, SANs, public key algorithm, key size, requester and intended certificate type.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.8 X.509 Extensions

Extensions are security logic, not decoration. Basic constraints, key usage, extended key usage, subject alternative name, subject key identifier and authority key identifier define what a certificate may be accepted for.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.9 SAN and Naming Model

Server identity is checked through SANs. The common name alone is not sufficient for modern hostname verification. Internal namespaces, documentation domains and production domains must remain separate.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.10 Chain Verification

A reliable check separates trust anchor and chain certificates. In practice: root through -CAfile, intermediate through -untrusted, leaf as the target certificate and hostname verification where needed.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.11 Revocation

Revocation is an operating process, not an afterthought. CRL or OCSP data must be produced, published, monitored and actually consumed by relevant clients.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.12 Expiry and Renewal

Certificates need a renewal window before they become critical. The decision covers a new serial, new signature, optionally a new key, rollout order and rollback plan.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.13 Automation

Automation through Vault PKI, cert-manager, ACME, Smallstep or SPIFFE reduces manual work, but does not replace policy. Roles, TTLs, issuers, approvers and audit remain explicit.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.14 Audit and Evidence

Evidence must show what was created, checked and approved. Good evidence contains OpenSSL output, fingerprints, serial numbers, chain verification, CRL or OCSP status and no secrets.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.15 Incident Response

For key compromise the order matters: identify affected serials, revoke, update CRL or OCSP, issue replacements, notify operators, preserve logs and document the root cause.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.16 Policy and CPS

A Certificate Policy describes what is allowed. A Certification Practice Statement describes how it is operated. Even private PKIs benefit from this separation because it stabilizes review and operations.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.17 Environment

WSL, VMs, bare metal and cloud differ in trust store behavior, file permissions, package versions and paths. Commands and evidence must therefore name the local environment.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.18 Security Hardening

Hardening covers file permissions, separated roles, short lifetimes, minimal EKUs, safe algorithms, offline root, controlled intermediates and monitoring for expiry or unusual issuance.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.19 Troubleshooting

PKI troubleshooting starts with the chain: does the private key match, is the CSR correct, was the certificate signed correctly, is the chain complete and does the client trust the root?

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.20 Team Workflow

In workshops and real teams one person should create, a second person should review and a third person should be able to reproduce the evidence. This makes PKI mistakes visible earlier.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.21 Submission Format

A solid submission contains configuration, public artifacts, evidence, failure analysis, cleanup notes and a short operational assessment. Private keys and production data are intentionally absent.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.22 Production Transfer

Moving from lab to production is not copying OpenSSL commands. It requires roles, safe key storage, monitoring, backup, revocation distribution, documentation and regularly practiced recovery.

Review field Expectation
Goal The section can be answered concretely in the context of 04-advanced-security-exercises-certificate-authority-EN.md.
Evidence The statement can be backed by configuration, OpenSSL output, logs, fingerprints, serial numbers or a documented decision.
Risk Missing or wrong data can lead to misplaced trust, outage or non-traceable revocation.

Concrete review questions:

  • Which entity is protected or signed?
  • Which file or output backs the statement?
  • Which role is played by the root, intermediate, leaf or client?
  • Which assumption needs additional production review?
  • Which change must be traceable in audit?
  • Which cleanup or protection step prevents accidental secret leaks?

A.23 Minimal Evidence Set

text
evidence/
  context.md
  openssl-version.txt
  csr-review.txt
  certificate-summary.txt
  certificate-extensions.txt
  chain-verification.txt
  revocation-or-renewal-note.md
  cleanup.md

This set is intentionally minimal. Advanced exercises add CA database state, CRL, OCSP response, audit log, policy excerpt, role decision and incident timeline.

A.24 Quality Criteria

  • The technical scope is clear before execution.
  • The chain is technically verified, not only described.
  • SAN, key usage, EKU and basic constraints are explicitly evaluated.
  • Revocation and renewal are covered as lifecycle concerns.
  • Private keys stay outside versioned content.
  • Public standards are separated correctly: RFC 5280 describes profile and processing, the CA/Browser Forum governs publicly trusted server certificates, and NIST SP 800-57 informs key management and lifetimes.
19 / 19

PKI · Orthevs Academy

31 Module als durchgängiger Lernpfad.

Die Reihenfolge bleibt unverändert: von der Laborgrundstruktur über fachliche Grundlagen und Betriebsmodelle bis zum abschließenden Troubleshooting. Die technischen Verzeichnisnamen werden bewusst beibehalten.

Orthevs – Engineering als Grundlage für das, was als Nächstes kommt.

Orthevs als App

Orthevs installieren

Die Orthevs Web-App kann auf unterstützten Mobilgeräten und Desktop-Browsern installiert werden.

iPhone und iPad

Öffnen Sie Orthevs in Safari. Tippen Sie auf Teilen, dann auf ‚Zum Home-Bildschirm‘. Aktivieren Sie gegebenenfalls ‚Als Web-App öffnen‘ und tippen Sie auf ‚Hinzufügen‘.

Android

Für die Web-App öffnen Sie das Browsermenü und wählen ‚App installieren‘ oder ‚Zum Startbildschirm hinzufügen‘. Bestätigen Sie die Installation.

Desktop-Browser

Öffnen Sie das Browsermenü oder das Installationssymbol in der Adressleiste und wählen Sie ‚App installieren‘ beziehungsweise ‚Zum Dock hinzufügen‘.

Die Web-App-Installation hängt vom Browser ab. Falls kein Installationsdialog erscheint, nutzen Sie die angezeigten Schritte im Browser.