Skip to content

PKI CA Submit Certificate Request REST API

Endi S. Dewata edited this page Aug 22, 2021 · 7 revisions

Overview

The issuer-id and issuer-dn are optional and mutually-exclusive parameters to specify the (lightweight) CA which will issue the certificate. By default the request will be issued by the primary/host CA.

Request

  • Method: POST

  • Path: /ca/rest/certrequests

  • Query Parameters:

    • issuer-id: string

    • issuer-dn: string

Examples

JSON
$ curl \
    -k \
    -s \
    --user caadmin:Secret.123 \
    -X POST \
    -d @- \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    https://localhost.localdomain:8443/ca/rest/carequests << EOF | python -m json.tool

Sources

See Also

Clone this wiki locally