CA Enable Authority REST API - dogtagpki/pki GitHub Wiki

Request

  • Path: /ca/rest/authorities/{id}/enable

  • Method: POST

  • Authentication: required

Response

$ curl \
    -k \
    -s \
    -X POST \
    -H "Accept: application/json" \
    --cookie cookies \
    https://localhost.localdomain:8443/ca/rest/authorities/b6c33f78-74ce-4ce8-9368-132778770572/enable | python -m json.tool
{
    "isHostAuthority": true,
    "id": "b6c33f78-74ce-4ce8-9368-132778770572",
    "issuerDN": "CN=CA Signing Certificate,OU=pki-tomcat,O=EXAMPLE",
    "serial": 134654840884793334153232292428441128498,
    "dn": "CN=CA Signing Certificate,OU=pki-tomcat,O=EXAMPLE",
    "enabled": true,
    "description": "Host authority",
    "ready": true
}
⚠️ **GitHub.com Fallback** ⚠️