File: endpoint_authsign.txt

package info (click to toggle)
golang-github-cloudflare-cfssl 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,220 kB
  • sloc: asm: 1,936; javascript: 652; makefile: 94; sql: 89; sh: 64; python: 11
file content (31 lines) | stat: -rw-r--r-- 948 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
THE AUTHENTICATED SIGNING ENDPOINT

Endpoint: /api/v1/cfssl/authsign
Method:   POST

Required parameters:

    * token: the authentication token
    * request: an encoded JSON signing request (e.g. as
           documented in endpoint_sign.txt).

Optional parameters:

    The following parameters might be used by the authenticator
    as part of the authentication process.

    * timestamp: a Unix timestamp
    * remote_address: an address used in making the request.
    * bundle: a boolean specifying whether to include an "optimal"
    certificate bundle along with the certificate

Result:

    The returned result is a JSON object with a single key:

    * certificate: a PEM-encoded certificate that has been signed
    by the server.
    * bundle: See the result of endpoint_bundle.txt (only included if the bundle parameter was set)

The authentication documentation contains more information about how
authentication with CFSSL works.