Overview
The X.509 Certificate Service issues X.509 certificates for PKI deployments. Pass certificateProfile on POST /v1/{target}/x509-service-api/certificates to generate ETSI EUDI Wallet certificates — PID Provider, Wallet Provider, WRPAC, and WRPRC — or ISO/IEC 18013-5 mDL certificates (IACA root and Document Signer). The same request shape also issues generic self-signed roots, CA-signed intermediates, and leaves, and creates PKCS#10 Certificate Signing Requests (CSRs).
By default, the service is stateless: it returns the generated certificate PEM without storing it. If one or more X.509 Store services are attached as dependencies, issued certificates are persisted automatically according to a configurable persistence strategy.
The X.509 Certificate Service is controlled by the x509 feature flag, which also controls the X.509 Store Service. The flag is enabled by default via the _features.conf, so the service is available unless you explicitly add x509 to disabledFeatures.
Supported Standards
| ETSI EUDI profiles: | etsi-pid-provider, etsi-wallet-provider (ETSI TS 119 412-6); etsi-wrpac (ETSI TS 119 411-8); etsi-wrprc (ETSI TS 119 475, draft) |
| ISO mDL profiles: | iso-iaca-root, iso-document-signer (ISO/IEC 18013-5 mDL) |
| X.509 extensions: | Authority Information Access, Certificate Policies, Qualified Certificate (QC) Statements, key usage, SAN/IAN, basic constraints, CRL distribution points |
Example: issue a PID Provider certificate
Set certificateProfile to etsi-pid-provider to issue the certificate a PID Provider uses to sign SD-JWT VC / mdoc Person Identification Data. The profile applies the ETSI TS 119 412-6 end-entity extensions and validates the result before returning it.
Endpoint: POST /v1/{target}/x509-service-api/certificates | API Reference
Example Request
curl -X 'POST' \
'https://{orgID}.enterprise-sandbox.waltid.dev/v1/{target}/x509-service-api/certificates' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {yourToken}' \
-H 'Content-Type: application/json' \
-d '{
"selfSigned": true,
"certificateProfile": "etsi-pid-provider",
"subjectKeyRef": "test.tenant1.kms1.pid-provider-key",
"subjectDn": "CN=Example PID Provider,O=Example PID Provider AT,organizationIdentifier=VATAT-U12345678,C=AT",
"validFrom": "2026-09-01T00:00:00Z",
"validTo": "2031-09-01T00:00:00Z",
"certificatePolicyOids": ["1.3.6.1.4.1.55555.1.1"]
}'
Wallet Provider, WRPAC, WRPRC, and the ISO mDL profiles use the same endpoint with a different certificateProfile. See Certificate profiles for required fields and CA-issued variants.
Service Dependencies
The X.509 Certificate Service supports two dependency types:
- Key Management Service — resolves signing and subject keys referenced by
issuerKeyRef/subjectKeyRef. - X.509 Store Service — persists issued certificates. Attach more than one to write the same certificate into several stores.
Keys supplied inline as JWKs (issuerKeyJwk / subjectKeyJwk) do not require a KMS dependency.
Endpoints
| Method | Path | Purpose |
|---|---|---|
POST | /v1/{target}/x509-service-api/csrs | Create a PKCS#10 CSR (stateless). |
POST | /v1/{target}/x509-service-api/certificates | Issue a certificate. |
PUT | /v1/{target}/x509-service-api/certificates | Issue or replace a certificate at a known ID. |
The earlier endpoints POST /certificate, POST /iso/iacas, and POST /iso/document-signers, and the type-discriminated CSR body, are deprecated. They still work but are superseded by POST / PUT /certificates. See Deprecated endpoints.
Core Features
- Certificate profiles — apply a predefined profile to get the required extensions plus post-issuance validation. EUDI Wallet:
etsi-pid-provider,etsi-wallet-provider,etsi-wrpac,etsi-wrprc. mDL:iso-iaca-root,iso-document-signer. See Certificate profiles. - One issuance model — self-signed and CA-signed certificates from the same request shape; issuer identity comes from a stored certificate, an inline PEM, or an issuer key.
- CSR-based issuance — supply a CSR PEM as the subject public key source; its signature is verified for proof-of-possession before issuance.
- Flexible key sources — signing and subject keys from a linked KMS (
…KeyRef) or inline as JWKs (…KeyJwk). - Extended certificate extensions — Authority Information Access, Certificate Policies, and Qualified Certificate (QC) Statements, in addition to key usage, SAN/IAN, basic constraints, and CRL distribution points.
- Configurable persistence — write issued certificates to one or all attached stores, with a service-level default that each request can override.
- CSR creation — generate PKCS#10 CSRs for external CA workflows.
Get Started
- Setup — Create the service, set a persistence strategy, attach dependency services.
- Issue a PID Provider certificate — ETSI TS 119 412-6 profile for signing PID attestations.
- Issue Certificates — Roots, intermediates, leaves, ISO mDL, and the other ETSI profiles.
- CSR Workflows — Create CSRs and issue certificates from them.
