Skip to content

Commit 34885de

Browse files
authored
Document revocation parameter formats
1 parent 6b49bea commit 34885de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/endpoint_revoke.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Method: POST
55

66
Required parameters:
77

8-
* serial: a string specifying the serial number of a certificate
8+
* serial: a string specifying the serial number of a certificate in decimal format
99
* authority_key_id: a string specifying the authority key identifier
1010
of the certificate to be revoked; this is used to distinguish
11-
which private key was used to sign the certificate.
11+
which private key was used to sign the certificate. Should be formatted without colons and all lowercase.
1212
* reason: a string identifying why the certificate was revoked; see,
1313
for example, ReasonStringToCode in the ocsp package or section
1414
4.2.1.13 of RFC 5280. The "reasons" used here are the ReasonFlag
@@ -21,6 +21,6 @@ Result:
2121
Example:
2222

2323
$ curl -d '{"serial": "7961067322630364137", \
24-
"authority_key_id": "00:01:02:03:04:05:07", \
24+
"authority_key_id": "a0b1c2d3e4f5", \
2525
"reason": "superseded"}' \
2626
${CFSSL_HOST}/api/v1/cfssl/revoke

0 commit comments

Comments
 (0)