Skip to content

Commit fd39eb1

Browse files
committed
docs(first-run): OCSP at registration and at acceptance
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
1 parent c4c0482 commit fd39eb1

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎docs/first-run.md‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ exactly one), a CRL source and an OCSP mode:
7070
- **CRL source:** `url` (fetched and checked now), `crl_der` (an initial CRL,
7171
checked now; later ones by upload) or `none`, which needs the `NO_CRL`
7272
acknowledgement. A CA with no CRL gets no MCP keys.
73-
- **OCSP mode:** `aia` (default), `url` (the responder is probed now) or `off`.
73+
- **OCSP mode:** `aia` (default), `url` or `off`. In `url` mode the manager
74+
probes the responder now, asking about a random serial; no answer is
75+
`OCSP_UNREACHABLE`, a badly signed one `OCSP_INVALID`. The preview doesn't
76+
carry `ocsp_probe` details yet: a confirmed registration means the probe
77+
passed.
7478

7579
The CA must be a CA with `keyCertSign`, have 30 days left, hold a P-384, P-256
7680
or RSA 3072+ key, and not be a CryptOS node's CA (by certificate or public
@@ -100,7 +104,11 @@ certificate the operator CA signed out of band against the confirmed CA:
100104
- the subject is exactly `CN=<email>`;
101105
- the key is P-384 or RSA 3072+ (P-256 is refused for operator certificates);
102106
- at least a day is left (over 400 days is a warning);
103-
- it isn't on the denylist or in the CA's CRL.
107+
- it isn't on the denylist or in the CA's CRL, and where OCSP is configured
108+
for it, the CA's responder doesn't say `revoked` (`REVOKED_OCSP`) or
109+
`unknown` (`OCSP_UNKNOWN`). With no fresh revocation data,
110+
`operatorRevocationPolicy: hard` refuses with 1608 (`STALE_OCSP` or
111+
`STALE_CRL`); `soft` accepts.
104112

105113
With `csr_der`, the CSR must verify, carry the same key and the same email.
106114
Without it, the call is a pre-flight for a certificate made entirely at the CA.

0 commit comments

Comments
 (0)