See below for issuing certificates with the REST API exposed by the embedded CA Gateway of the Certificate Authorities solution.

To issue certificates with a REST client

  1. Install a REST client.
  2. As the client credential, select the administrator PKCS #12 automatically generated when Creating Certificate Authority instances.
  3. Import the Swagger specification, which is available at the following endpoint. 
    https://{pkihub}:7443/cagw
    Where {pkihub} is the hostname or IP address of the machine hosting PKI Hub.
  4. Send a REST requests to the issuing CA endpoint – for example: 

    curl --request POST --header "Accept: application/json" --header "Content-Type: application/json" -d @enrollments.json --cert-type P12 --cert $P12:$PWD https://$PKIHUB:7443/cagw/v1/certificate-authorities/$ORG_ID~$CA_ID/enrollments | jq .
    Where :
    • $P12 is the path of the PKCS#12 file.
    • $PWD is the password of the PKCS 12 file.
    • $PKIHUB is the hostname or IP address of the machine hosting PKI Hub.
    • $ORG_ID is the identifier of the organization to which the CA belongs.

    • $CA_ID is the identifier of the issuing CA.