Skip to main content
Certificates

List certificate presets

GET/v4/config/ows/key-management/certificate-presets

Lists the certificate presets. A certificate preset is a template of the platform for a CSR that targets one certificate profile: the values that the profile fixes (key usage, extended key usage, certificate policies, QC statements), the fields that a request must give, the longest validity, and a prefill from the data of the organisation. Give its id in preset of Generate CSR or Create test certificate.

The presets, in this order: wrpac-legal, wrpac-natural, pid-provider, wallet-provider, wallet-status-list-signer, eaa-provider, qeaa-provider, pub-eaa-provider, mdoc-document-signer, pid-provider-mdoc, eaa-provider-mdoc, qeaa-provider-mdoc, pub-eaa-provider-mdoc (the *-mdoc presets: the certificate of the category with the ISO/IEC 18013-5 Document Signer profile, for an mso_mdoc configuration), mdoc-reader, mdoc-status-list-signer, status-list-signer, request-signer-san-dns and custom (no fixed values, always last). sources names the standards and clauses of each preset. signingPurposes names the uses of a signing key that accept a key with the preset: a key picker shows these keys as the suggested keys of a use (purpose of List keys). A save does not refuse a key because of its preset.

testCaEnabled tells whether the built-in test CA of the installation is on. When it is false, Create test certificate and the test CA operations answer 403, so do not offer a test certificate. A sandbox organisation gets the presets of its main organisation.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:keys:read

Response

application/json

The certificate presets and the test CA switch.

  • presetsobject[]

    The certificate presets, custom last.

  • testCaEnabledboolean

    true when the built-in test CA of the installation is on.

    Example:true