Skip to main content
The signing service needs an issuer. In this stage you mint a self-signed root CA using the built-in Root Certificate Authority certificate profile and an RSA Signing key type.
1

List the certificate profiles

Certificate-profile UUIDs are environment-specific, so list them rather than hardcoding:
GET /api/v2/x509/cert-profiles/stubs
Response (truncated to relevant profiles)
2

List the key types

Key-type UUIDs are likewise environment-specific. The key-types/stubs endpoint is a POST that accepts a pagination/filter body; use search to narrow the results:
POST /api/v2/key-types/stubs
Response (RSA Signing key types)
Capture the two UUIDs you intend to use:
3

Generate the CA

Call POST /api/v2/x509/generate with the root profile, a new RSA key (newKey), and both saveCert and trustCert set to true so the resulting certificate is persisted and trusted as an issuer.
POST /api/v2/x509/generate
Response
Record certificateUuid; it is the issuer UUID you will reference when deploying the signing service:
When newKey.keyTypeUuid is supplied, the key parameters (algorithm, size, usages) are inherited from the chosen key type, so an explicit keyParams block is not required. Set save: true so the private key is persisted and can be used to issue further certificates.