Command Reference: Certificate Authority
Date: July 15, 2026 This file is written as a detailed workshop and operations reference.
1. OpenSSL Ground Rules
OpenSSL Ground 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. |
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 OpenSSL Ground 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 haveCA: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 OpenSSL Ground 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 OpenSSL Ground Rules
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.
2. Generate Keys
Generate Keys 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. |
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 Generate Keys
- 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 haveCA: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 Generate Keys
| 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 Generate Keys
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.
3. Generate CSR
Generate CSR 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. |
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 Generate CSR
- 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 haveCA: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 Generate CSR
| 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 Generate CSR
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.
4. Inspect Certificate
Inspect Certificate 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. |
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 Inspect Certificate
- 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 haveCA: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 Inspect Certificate
| 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 Inspect Certificate
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.
5. Inspect Extensions
Inspect Extensions 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. |
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 Inspect Extensions
- 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 haveCA: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 Inspect Extensions
| 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 Inspect Extensions
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.
6. Self-signed Root
Self-signed 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. |
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 Self-signed 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 haveCA: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 Self-signed 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 Self-signed Root
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.
7. Sign Intermediate
Sign Intermediate 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. |
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 Sign Intermediate
- 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 haveCA: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 Sign Intermediate
| 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 Sign Intermediate
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.
8. Sign Server Certificate
Sign Server Certificate 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. |
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 Sign Server Certificate
- 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 haveCA: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 Sign Server Certificate
| 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 Sign Server Certificate
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.
9. Verify Chain
Verify Chain 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. |
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 Verify Chain
- 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 haveCA: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 Verify Chain
| 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 Verify Chain
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. Test Trust Store
Test Trust Store 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. |
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 Test Trust Store
- 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 haveCA: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 Test Trust Store
| 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 Test Trust Store
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. Generate CRL
Generate CRL 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. |
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 Generate CRL
- 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 haveCA: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 Generate CRL
| 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 Generate CRL
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. Revoke Certificate
Revoke Certificate 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. |
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 Revoke Certificate
- 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 haveCA: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 Revoke Certificate
| 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 Revoke Certificate
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. Check OCSP
Check OCSP 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. |
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 Check OCSP
- 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 haveCA: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 Check OCSP
| 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 Check OCSP
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. Test mTLS
Test mTLS 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. |
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 Test mTLS
- 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 haveCA: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 Test mTLS
| 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 Test mTLS
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. Check Expiry
Check Expiry 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. |
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 Check Expiry
- 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 haveCA: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 Check Expiry
| 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 Check Expiry
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. Inspect ASN.1
Inspect ASN.1 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. |
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 Inspect ASN.1
- 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 haveCA: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 Inspect ASN.1
| 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 Inspect ASN.1
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. Fingerprint and Pinning
Fingerprint and Pinning 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. |
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 Fingerprint and Pinning
- 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 haveCA: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 Fingerprint and Pinning
| 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 Fingerprint and Pinning
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. Troubleshooting
Troubleshooting 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. |
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 Troubleshooting
- 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 haveCA: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 Troubleshooting
| 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 Troubleshooting
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.
19. 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. |
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 haveCA: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
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.
Sources and Further References
- RFC 5280: https://datatracker.ietf.org/doc/html/rfc5280
- CA/Browser Forum Baseline Requirements: https://cabforum.org/working-groups/server/baseline-requirements/requirements/
- CA/Browser Forum TLS BR Documents: https://cabforum.org/working-groups/server/baseline-requirements/documents/
- NIST SP 800-57 Part 1 Rev. 5: https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final
- NIST SP 800-57 Rev. 6 Initial Public Draft: https://csrc.nist.gov/pubs/sp/800/57/pt1/r6/ipd
- OpenSSL Documentation: https://docs.openssl.org/
- OpenSSL
ca: https://docs.openssl.org/3.0/man1/openssl-ca/ - OpenSSL
x509: https://docs.openssl.org/3.0/man1/openssl-x509/ - Let's Encrypt Documentation: https://letsencrypt.org/docs/
- HashiCorp Vault PKI Secrets Engine: https://developer.hashicorp.com/vault/docs/secrets/pki
- cert-manager Documentation: https://cert-manager.io/docs/
- Smallstep Documentation: https://smallstep.com/docs/
Practice Appendix: CA Evidence for this reference document
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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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 commands-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
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.