---
title: "Overview"
description: "Issue X.509 certificates for PKI with the walt.id Enterprise X.509 Certificate Service, including ISO 18013-5 mDL and ETSI EUDI Wallet profiles."
stack: "Enterprise Stack (commercial) — version 1.2.1"
stack_version: "1.2.1"
stack_comparison: https://docs.walt.id/community-vs-enterprise.md
canonical_url: https://docs.walt.id/enterprise-stack/services/x509-service/overview
generated: 2026-11-11
---
# 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](https://docs.walt.id/enterprise-stack/services/x509-store-service/overview.md) are attached as dependencies, issued certificates are persisted automatically according to a configurable persistence strategy.

**Note:**

The X.509 Certificate Service is controlled by the `x509` feature flag, which also controls the [X.509 Store Service](https://docs.walt.id/enterprise-stack/services/x509-store-service/overview.md). The flag is enabled by default via the [`_features.conf`](https://docs.walt.id/enterprise-stack/setup/configurations/config-files/features.md), 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](https://docs.walt.id/concepts/digital-credentials/mdoc-mdl-iso.md)) |
| **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.

**Option: CURL**

Endpoint: `POST /v1/{target}/x509-service-api/certificates` | [API Reference](https://enterprise.sandbox.walt.id/swagger/index.html#/Service%20%7C%20X.509%20Certificate%20Service)

**Example Request**

```bash
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](https://docs.walt.id/enterprise-stack/services/x509-service/issue-certificates.md#certificate-profiles) for required fields and CA-issued variants.

## Service Dependencies

The X.509 Certificate Service supports two dependency types:

- [Key Management Service](https://docs.walt.id/enterprise-stack/services/key-management-service/overview.md) — resolves signing and subject keys referenced by `issuerKeyRef` / `subjectKeyRef`.
- [X.509 Store Service](https://docs.walt.id/enterprise-stack/services/x509-store-service/overview.md) — 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. |

**Error:**

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](https://docs.walt.id/enterprise-stack/services/x509-service/issue-certificates.md#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](https://docs.walt.id/enterprise-stack/services/x509-service/issue-certificates.md#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](https://docs.walt.id/enterprise-stack/services/x509-service/setup.md) — Create the service, set a persistence strategy, attach dependency services.
- [Issue a PID Provider certificate](https://docs.walt.id/enterprise-stack/services/x509-service/issue-certificates.md#etsi-pid-provider-certificate) — ETSI TS 119 412-6 profile for signing PID attestations.
- [Issue Certificates](https://docs.walt.id/enterprise-stack/services/x509-service/issue-certificates.md) — Roots, intermediates, leaves, ISO mDL, and the other ETSI profiles.
- [CSR Workflows](https://docs.walt.id/enterprise-stack/services/x509-service/csr-workflows.md) — Create CSRs and issue certificates from them.
