Skip to content

CA List Authorities REST API

Endi S. Dewata edited this page Mar 8, 2024 · 3 revisions

Request

  • Path: /ca/rest/authorities

  • Method: GET

  • Parameters:

    • id: Authority ID

    • parentID: Parent authority ID

    • dn: Authority DN

    • issuerDN: Parent authority DN

Response

$ curl \
    -k \
    -s \
    -H "Accept: application/json" \
    https://localhost.localdomain:8443/ca/rest/authorities | 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
    }
]
Clone this wiki locally