PKI CA Retrieve Certificate Request REST API - dogtagpki/pki GitHub Wiki

Request

  • Path: /ca/rest/certrequests/{id}

  • Method: GET

  • Query Parameters:

    • id: dec/hex request ID

  • Content: None

Example

curl -k -H "Accept: application/json" --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/certrequests/2 | python -m json.tool
{
    "requestType": "enrollment",
    "requestStatus": "complete",
    "requestURL": "https://localhost.localdomain:8443/ca/rest/certrequests/2",
    "certId": "0x2",
    "certURL": "https://localhost.localdomain:8443/ca/rest/certs/2",
    "certRequestType": "pkcs10",
    "operationResult": "success"
}
⚠️ **GitHub.com Fallback** ⚠️