CA List Profiles REST API - dogtagpki/pki GitHub Wiki

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"
        }
    ]
}
⚠️ **GitHub.com Fallback** ⚠️