Skip to content

CA List Profiles REST API

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

Request

  • Path: /ca/rest/profiles

  • Method: GET

  • Authentication: required

  • Query Parameters:

    • start: Page start

    • size: Page size

    • visible: Return visible profiles: none, true, false

    • enable: Return enabled profiles: none, true, false

    • enableBy: Return profiles enabled by specified user

Response

$ curl \
    -k \
    -s \
    -H "Accept: application/json" \
    --cookie cookies \
    https://localhost.localdomain:8443/ca/rest/profiles | python -m json.tool
{
    "total": 90,
    "entries": [
        {
            "profileURL": "https://localhost.localdomain:8443/ca/rest/profiles/acmeServerCert",
            "profileId": "acmeServerCert",
            "profileName": "ACME Server Certificate Enrollment",
            "profileDescription": "This certificate profile is for enrolling server certificates via ACME protocol.",
            "profileVisible": true,
            "profileEnable": true,
            "profileEnableBy": "admin"
        },
        ...
        {
            "profileURL": "https://localhost.localdomain:8443/ca/rest/profiles/caSignedLogCert",
            "profileId": "caSignedLogCert",
            "profileName": "(deprecated; use caAuditSigningCert) Manual Log Signing Certificate Enrollment",
            "profileDescription": "(deprecated; use caAuditSigningCert) This profile is for enrolling audit log signing certificates",
            "profileVisible": false,
            "profileEnable": true,
            "profileEnableBy": "admin"
        }
    ]
}
Clone this wiki locally