Skip to content

Commit

Permalink
API: Add documentation for CRL endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
drf authored and kisom committed Mar 2, 2017
1 parent 9ea4134 commit cdf03f4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/api/endpoint_crl.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
THE CRL ENDPOINT

Endpoint: /api/v1/cfssl/crl
Method: GET

Optional URL Query parameters:

* expiry: a value, in seconds, after which the CRL should expire
from the moment of the request.

Result:

The returned result is an empty JSON object

Example:

$ curl ${CFSSL_HOST}/api/v1/cfssl/crl
$ curl ${CFSSL_HOST}/api/v1/cfssl/crl?expiry=7200h
1 change: 1 addition & 0 deletions doc/api/intro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ under the name `endpoint_<endpoint>`. These nine endpoints are:

- authsign: authenticated signing endpoint
- bundle: build certificate bundles
- crl: generates a CRL out of the certificate DB
- info: obtain information about the CA, including the CA
certificate
- init_ca: initialise a new certificate authority
Expand Down

0 comments on commit cdf03f4

Please sign in to comment.