Creating an EUDI Identifier
An EUDI identifier is a certificate identifier that holds what you need to interact with wallets in the EUDI ecosystem. It is made up of up to three components:
- Access certificate (WRPAC): an X.509 certificate that
authenticates you to wallet units as a registered wallet-relying
party. Required for every EUDI identifier. In Procivis One, you assign
it the
AUTHENTICATIONrole. - Signing certificate: an X.509 certificate that signs the
attestations you issue. Required for issuers only. In Procivis One, you
assign it the
ASSERTION_METHODrole. - 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. You add it to the identifier as trust information.
What you need
What you need depends on what you do with the identifier:
| You want to | You need |
|---|---|
| Verify | Access certificate, and a registration certificate where your Member State uses them |
| Issue | Access certificate, signing certificate, and a registration certificate where your Member State uses them. The access certificate signs your issuer metadata, so issuers need it as well. |
| Issue and verify | The same as issuing. The identifier verifies with its access certificate. |
The access certificate and registration certificate 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. The signing certificate comes from a different authority, which depends on the type of attestation you issue.
Wallets evaluate each component separately against its own trust anchor. See Get onto the trust lists.
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.
Testing and development
If you are not in production, you can set up the whole scheme yourself, with no external CA, registrar, or certificate provider involved:
- Create your own root CA and issue certificates directly from it. See Certificates.
- Operate your own national register, and issue access and registration certificates from it. See Wallet-Relying Party Registry.
- Publish your own trust lists containing your test CAs and certificates. See Publishing trust lists.
- Subscribe your test wallets to those lists. See Subscribing to Trust Lists.
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.
Steps 1 and 2 below describe the production path. If you create certificates directly from your own CA, skip to step 3.
1. Create a key and a CSR
Create a key and a certificate signing request (CSR) for each certificate you need. Verifiers need one, for the access certificate. Issuers need two: one for the access certificate and one for the signing certificate.
For each certificate:
Create a key pair with key type
ECDSAorEDDSA. Keep the key ID: you need it to create the identifier.Generate a CSR with the key, using the profile for that certificate:
| Certificate | CSR profile |
|---|---|
| Access certificate | GENERIC |
| Signing certificate for attestations other than mdocs | GENERIC |
| Signing certificate for mdocs | MDL |
When you finish this step, you have one CSR if you only verify, or two if you issue.
2. Get your certificates
Access and registration 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).
Signing certificate (issuers)
Submit the CSR for your signing certificate to the authority that issues signing certificates for the type of attestation you provide, and get the certificate onto the appropriate trust list. The rulebook for the attestation type defines the details, including which authority issues the certificate and which trust anchor it must be tied to.
Rulebooks are still evolving, so check the rulebook for current signing certificate requirements. For the trust lists involved, see Get onto the trust lists.
In production, this step happens outside Procivis One. When you have your certificates, continue to step 3.
3. Create the identifier
Create a certificate identifier with each certificate you hold, and add the registration certificate as trust information. The example shows an issuer, with an access certificate, a signing certificate, and a registration certificate:
POST /api/identifier/v1
{
"name": "My EUDI identifier",
"certificates": [
{
"name": "Access certificate",
"chain": "-----BEGIN CERTIFICATE-----\n<access certificate>\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n<access certificate CA>\n-----END CERTIFICATE-----\n",
"keyId": "c707d9a0-4f51-431a-99bb-e93f91641d2b",
"roles": ["AUTHENTICATION"]
},
{
"name": "Signing certificate",
"chain": "-----BEGIN CERTIFICATE-----\n<signing certificate>\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n<signing certificate CA>\n-----END CERTIFICATE-----\n",
"keyId": "5d1e8f3a-2b7c-4a90-8c64-1f0e9d7a3b52",
"roles": ["ASSERTION_METHOD"]
}
],
"trustInformation": [
{
"type": "REGISTRATION_CERTIFICATE",
"data": "<registration certificate JWT>"
}
]
}
certificates: one entry for each certificate.chain: the certificate in PEM format, followed by the certificates of its issuing CA chain.keyId: the key the certificate was issued for.roles: what the system uses the certificate for.AUTHENTICATIONfor the access certificate. It authenticates you to the wallet, which uses it to establish trust in you. The system uses it to sign your issuer metadata when you issue and your request objects when you verify.ASSERTION_METHODfor the signing certificate. The system uses it to sign the credentials you issue.- See Certificate roles for more information.
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.
To create a verifier-only identifier, leave out the signing certificate.
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.
Adding certificates later
You can add certificates to an existing identifier, for example when a certificate is renewed, or when a verifier identifier starts to issue and needs a signing certificate. 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.
Identifiers with multiple certificates
An identifier can hold any number of certificates, whether you add them when you create the identifier or later.
When you use the identifier as the issuer of a credential or the
verifier of a proof request, the system selects a certificate that has
the role the operation needs. To use a specific certificate instead,
specify it when you create the credential or proof request. For the
selection logic and how to override it, see
Using multiple certificates in one identifier.
How registration certificates are shared with wallets
The system shares the registration certificates on your identifier with wallets automatically.
Issuing
When you issue, the system adds a registration certificate to the issuer metadata if it applies to the issuance, meaning it covers the credential schema ID and format you are issuing. This happens whether or not you enforce an ecosystem.
If you enforce the EUDI ecosystem 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.
Verifying
When you verify, the system sends your registration certificates to the
wallet only if the request uses the x509_san_dns or x509_hash client
ID scheme. With any other client ID scheme, none are sent.
If you enforce the EUDI ecosystem, creating the proof request fails
unless at least one valid registration certificate on the identifier
references the credential format and schema ID the request uses. See
Ecosystem Enforcement Reference for Verifiers.
Keep these points in mind:
- The system sends every registration certificate on the identifier. It does not select the ones that apply to the request. The wallet evaluates them.
- Choose the client ID scheme when you share the request. When you create the proof request, choose a verification protocol that is configured with one or both of the applicable client ID schemes. You may need to also specify the client ID scheme when you create the share URL, depending on your protocol's configuration.
- Keep a valid registration certificate on the identifier. The system attaches certificates when the wallet retrieves the request, which can be well after you create it. If the identifier has no valid registration certificate at that moment, the request goes out without one.
Get onto the trust lists
Wallets decide whether to trust each part of your identifier separately, against trust lists they subscribe to:
| Component | The wallet checks that | Trust list role |
|---|---|---|
| Access certificate | It is signed by a CA on an access certificate provider trust list | WRP_AC_PROVIDER |
| Registration certificate | It is signed by a registration certificate provider on a trust list | WRP_RC_PROVIDER |
| Signing certificate for a PID | The issuer is a PID Provider | PID_PROVIDER |
| Signing certificate for a QEAA | The issuer is a QEAA provider | QEAA_PROVIDER |
| Signing certificate for other attestations | As the rulebook for the attestation defines | As the rulebook defines |
For a PID or QEAA, the issuer's signing certificate, or its CA, must be
on the matching trust list. 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 lists is part of your registration, notification, and authorization as a provider. It happens outside Procivis One.
- In testing and development, publish your own trust lists with these roles, containing your test certificates or their CAs, and subscribe your test wallets to them. See Testing and development.