Creating an EUDI Identifier
To issue or verify credentials in the EUDI ecosystem, you need a certificate identifier built from two items:
- Access certificate (WRPAC): an X.509 certificate that authenticates you to wallet units. Required.
- Registration certificate (WRPRC): a signed JWT that declares the credentials you are registered to issue or request. Required only in Member States that use registration certificates.
Both certificates come from your registration in a national register of wallet-relying parties. This applies to issuers as well as verifiers: PID Providers and attestation providers register with the entitlement that matches what they issue.
Decide which credentials you will issue and which you will request. The registration certificate lists them, so adding a credential later means getting a new registration certificate and updating your identifier.
1. Create a key and a CSR
Create a key pair with key type
ECDSAorEDDSA. Keep the key ID: you need it to create the identifier.Generate a certificate signing request (CSR) with the key, setting
profileto:MDLif you issue ISO mDLGENERICin all other cases
POST /api/key/v1/{id}/generate-csr
{
"profile": "GENERIC",
"subject": {
"commonName": "My EUDI Issuer"
}
}
2. Get your certificates
Submit your registration and the CSR to the authorities in your Member State:
- The registrar records you in the national register, with your entitlements and the credentials you issue or request.
- The access certificate provider signs your CSR and returns the access certificate as a PEM file, together with its CA chain.
- The registration certificate provider, where your Member State uses
one, returns your registration certificate as a JWT
(
typ: rc-wrp+jwt).
In production, this step happens outside Procivis One.
You can run the whole registration scheme yourself with the Wallet-Relying Party Registry: operate a national register, and issue access and registration certificates from it. The certificates have the same structure as production certificates, so the identifier you create in step 3 works the same way. When you move to production, you swap in the certificates from your Member State's providers and nothing else in your setup changes.
3. Create the identifier
Create a certificate identifier from the access certificate, and add the registration certificate as trust information:
POST /api/identifier/v1
{
"name": "My EUDI identifier",
"certificates": [
{
"chain": "-----BEGIN CERTIFICATE-----\n<access certificate>\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n<issuing CA>\n-----END CERTIFICATE-----\n",
"keyId": "c707d9a0-4f51-431a-99bb-e93f91641d2b",
"roles": ["ASSERTION_METHOD", "AUTHENTICATION"]
}
],
"trustInformation": [
{
"type": "REGISTRATION_CERTIFICATE",
"data": "<registration certificate JWT>"
}
]
}
chain: the access certificate in PEM format, followed by the certificates of its issuing CA chain.keyId: the key you created in step 1.roles: Issuers need bothASSERTION_METHODandAUTHENTICATIONin the identifier'sroles. Verifiers who never issue can useAUTHENTICATIONonly.ASSERTION_METHODis used to sign credentialsAUTHENTICATIONis used to sign metadata- You can assign both roles to the same certificate
trustInformation: the registration certificate. A registration certificate covers one intended use, so add one entry for each registration certificate you hold. Leave it out if your Member State does not use registration certificates.
The response returns the identifier's ID. Use it as the issuer when you
create a credential, or as the verifier identifier when
you create a proof request.
To add access certificates to the identifier later, for example when a certificate is renewed, see Editing certificate identifiers. If you remove all access certificates from the identifier, its registration certificates are removed as well.
To add registration certificates to the identifier later, for example when adding a new intended use, see Registration Certificates. The new value replaces the old value so include all registration certificates needed for the identifier.
How the registration certificate is used
When you issue with the EUDI ecosystem enforced and your identifier
holds a registration certificate, the credential schema you issue must be
listed in the certificate's provided attestations. Otherwise, creating the
credential fails. See
Ecosystem Enforcement Reference for Issuers.
PID Providers: get onto a PID Provider trust list
Wallets trust a PID only if the issuer's certificate, or its CA, is on a
PID Provider trust list they subscribe to. A schema counts as a PID when
its schema ID is one of the PID schema IDs in your ecosystem
configuration.
- In production, getting onto the trust list is part of becoming a recognized PID Provider and happens outside Procivis One.
- In testing and development, publish your own trust list with the
role
PID_PROVIDERthat contains your identifier or its CA, and subscribe your test wallets to it. See Trust Lists.