The following endpoint returns list of certificate profiles defined on a certificate authority.
https://{host}:{cagw}/<server.servlet.context-path>/v1/certificate-authorities/{caId}/profilesSee the table below for a description of each field.
Field | Value |
|---|---|
{host} | The hostname or IP address of the CA Gateway host server |
{port} | The port of the CA Gateway service |
{server.servlet.context-path} | The value of the |
{caId} | The certificate authority identifier |
For example, the following request list the profiles of a certificate authority with the CA3 identifier.
GET https://localhost:8444/cagw/v1/certificate-authorities/CA3/profilesThe response looks like the following.
{ "message": { "message": "Profiles retrieved successfully.", "details": [] }, "profiles": [ { "id": "sectigo-profile-1", "name": "static-profileA-local", "properties": { "cert_type": "60515" }, "protocols": [], "requestedProperties": [], "subjectAltNameRequirements": [], "subjectVariableRequirements": [] }, { "id": "60515", "name": "profileA", "properties": { "cert_type": "60515", "description": "", "key_type": "{\"EC\":[\"P-256\",\"P-384\",\"P-521\"],\"RSA\":[\"2048\",\"3072\",\"4096\",\"8192\"]}", "terms": "[30]", "use-secondary-org-name": "false" }, "protocols": [], "requestedProperties": [], "subjectAltNameRequirements": [], "subjectVariableRequirements": [] }, { "id": "63999", "name": "Sectigo Enterprise Pro - Multi-Domain (OV)", "properties": { "cert_type": "63999", "description": "", "key_type": "{\"EC\":[\"P-256\",\"P-384\"],\"RSA\":[\"2048\",\"4096\",\"8192\"]}", "terms": "[47, 200, 365, 397]", "use-secondary-org-name": "false" }, "protocols": [], "requestedProperties": [], "subjectAltNameRequirements": [], "subjectVariableRequirements": [] }, { "id": "64442", "name": "test", "properties": { "cert_type": "64442", "description": "asdfsadf", "key_type": "{\"EC\":[\"P-256\",\"P-384\",\"P-521\"],\"RSA\":[\"2048\",\"3072\",\"4096\",\"8192\"]}", "terms": "[30]", "use-secondary-org-name": "false" }, "protocols": [], "requestedProperties": [], "subjectAltNameRequirements": [], "subjectVariableRequirements": [] } ], "type": "ProfilesResponse"}