Skip to main content

Configuration

A relying party registration scheme runs on two services, and both need configuration:

  • Wallet-Relying Party Registry (WRPR): your registration policy, the national registries you work with, signing for the public register, and the Core signers used for certificates.
  • Core: the signers, revocation methods, and identifiers that sign certificates.

This page covers what to configure for each role and why. For every parameter, see the WRPR configuration reference and the Core configuration reference. To deploy the services, connect them to each other, and set up authentication, see the Operations documentation.

What each role needs​

RoleWRPRCore
All rolesNational registriesCertificate validation
National RegistryRegistration policy, public register signing—
Access CertificatesaccessCertificateProviderAccess Certificate signer, CRL revocation method, certificate authority identifier
Registration CertificatesregistrationCertificateProviderRegistration Certificate signer, Token Status List revocation method, certificate identifier

You only need to configure the roles you operate.

Common configuration​

National registries​

Every certificate request references the relying party's national registry by name, in wrpNationalRegistryName. Define each registry you work with under walletRelyingPartyRegistry.nationalRegistries. This includes the registry you operate yourself, and the registries of other registrars if you issue certificates to their relying parties.

{
"walletRelyingPartyRegistry": {
"nationalRegistries": {
"DE": {
"url": "https://registry.example.de",
"internal": true,
"order": 1,
"display": { "en": "German national register" }
}
}
}
}
FieldDescription
keyThe registry name used in certificate requests and in the paths of the delete endpoints.
urlThe base URL of the registry's public API.
internalWhether this deployment operates the registry. In the Desk, a relying party from an internal registry links to its registration in the National Registry view.
displayDisplay name, by language.
orderPosition in lists in the interface.

Certificate validation​

Core tolerates small clock differences between systems when it validates certificates. Set the tolerance in the Core configuration:

globalSettings:
certificateValidation:
leewaySeconds: 60

Key algorithms​

The keys of your issuer identifiers, and the keys relying parties put in their CSRs, must use algorithms enabled in the Core keyAlgorithm configuration. ECDSA P-256 is supported for both.

National Registry​

Registration policy​

Your registration policy sets which values a registration may use. Applications are validated against it, and the management interface shows its options. Define it in the walletRelyingPartyRegistry object:

{
"walletRelyingPartyRegistry": {
"registryUrl": "https://registry.example.de",
"languages": [
{ "value": "en", "display": { "en": "English", "de": "Englisch" } },
{ "value": "de", "display": { "en": "German", "de": "Deutsch" } }
],
"contactCountries": [
{ "value": "DE", "display": { "en": "Germany", "de": "Deutschland" } },
{ "value": "AT", "display": { "en": "Austria", "de": "Österreich" } }
],
"primaryIdentifierType": "http://data.europa.eu/eudi/id/EUID",
"identifierTypes": [
{
"value": "http://data.europa.eu/eudi/id/EUID",
"display": { "en": "European Unique Identifier (EUID)" },
"legalPersonCode": "NTR",
"naturalPersonCode": "NTR"
},
{
"value": "http://data.europa.eu/eudi/id/VATIN",
"display": { "en": "Value Added Tax Identification Number (VATIN)" },
"legalPersonCode": "VAT",
"naturalPersonCode": "TIN"
},
{
"value": "http://data.europa.eu/eudi/id/LEI",
"display": { "en": "Legal Entity Identifier (LEI)" },
"legalPersonCode": "LEI",
"naturalPersonCode": null
}
],
"entitlementTypes": [
{
"value": "https://uri.etsi.org/19475/Entitlement/Service_Provider",
"display": { "en": "Service Provider" },
"requireIntendedUse": true,
"requireAttestation": false
},
{
"value": "https://uri.etsi.org/19475/Entitlement/QEAA_Provider",
"display": { "en": "QEAA Provider" },
"requireIntendedUse": false,
"requireAttestation": true
},
{
"value": "https://uri.etsi.org/19475/Entitlement/Non_Q_EAA_Provider",
"display": { "en": "Non-qualified EAA Provider" },
"requireIntendedUse": false,
"requireAttestation": true
},
{
"value": "https://uri.etsi.org/19475/Entitlement/PUB_EAA_Provider",
"display": { "en": "PuB-EAA Provider" },
"requireIntendedUse": false,
"requireAttestation": true
},
{
"value": "https://uri.etsi.org/19475/Entitlement/PID_Provider",
"display": { "en": "PID Provider" },
"requireIntendedUse": false,
"requireAttestation": true
}
],
"privacyPolicyTypes": [
{
"value": "http://data.europa.eu/eudi/policy/privacy-policy",
"display": { "en": "Privacy Policy" }
},
{
"value": "http://data.europa.eu/eudi/policy/terms-and-conditions",
"display": { "en": "Terms and Conditions statement" }
}
],
"establishedByLawTypes": [
{ "value": "GmbH", "display": { "en": "Limited Liability Company", "de": "Gesellschaft mit beschränkter Haftung" } },
{ "value": "AG", "display": { "en": "Public Limited Company", "de": "Aktiengesellschaft" } }
]
}
}
SettingDescription
registryUrlThe base URL of your public register.
languagesLanguages for service descriptions and purpose statements, as language codes. Offer every language relying parties in your Member State need to address their users in.
contactCountriesCountries a relying party can give as its place of establishment, as two-letter country codes.
identifierTypesOfficial identifier schemes a registration can use, such as EUID, VATIN, TIN, LEI, EORI, or excise numbers, each identified by a URI. legalPersonCode and naturalPersonCode give the scheme's code for legal and natural persons, such as NTR, VAT, or TIN. Set naturalPersonCode to null for schemes that only apply to legal persons.
primaryIdentifierTypeThe scheme every registration must include. Prefer EUID where your business register supports it, since it is recognized across Member States.
entitlementTypesThe roles relying parties can hold, identified by their ETSI TS 119 475 entitlement URIs. requireIntendedUse makes at least one intended use mandatory for that entitlement, and requireAttestation makes at least one attestation mandatory.
privacyPolicyTypesTypes of policy document a relying party can link in an intended use, identified by URIs such as privacy policy, privacy statement, terms and conditions, registration policy, and trust service practice statement.
establishedByLawTypesThe legal bases an organization can register under, such as legal forms (GmbH, AG, association) or establishing legislation.

Each option has a value, which is what API requests use, and a display name for each language.

The registry combines an identifier's scheme code with the relying party's country and the identifier value to form the relying party's identifier in ETSI format. For example, the EUID of a Swiss legal person becomes NTRCH-<value>. The public register lists relying parties by this identifier.

To check the policy a running registry uses, call GET /api/config/v1.

Public register signing​

Responses from the public register are signed JWTs, so consumers can verify them. Configure signing under public.api in the WRPR configuration:

public.api:
signing:
type: certificate
privateKey: "<Ed25519 private key, PKCS #8 PEM>"
certificate: "<certificate PEM>"
iss: https://registry.example.de
aud: |
one-bff
maxTokenValidity: 86400
SettingDescription
signing.typecertificate (recommended) signs with a key that has a certificate, so consumers can validate the signer against a trust anchor and the register fits into trust management like other ecosystem participants. key signs with the private key alone, and the register publishes its keys at /.well-known/jwks.json.
signing.privateKeyRequired for both types. An Ed25519 private key in PKCS #8 form.
signing.certificateThe certificate for the signing key, when type is certificate.
issThe issuer of the JWTs, usually your register's public URL.
audThe audience of the JWTs.
maxTokenValidityThe maximum validity of each JWT, in seconds.

Access Certificates​

WRPR​

Point the service at the Core signer that signs access certificates:

accessCertificateProvider:
signer: "ACCESS_CERTIFICATE"

Core​

  • Signer: an ACCESS_CERTIFICATE signer whose name matches accessCertificateProvider.signer. Its maxValidityDurationSeconds caps the validity of every access certificate.
  • Revocation method: a CRL entry in the revocation object, referenced by the signer. It is optional for the signer, but without it you cannot revoke access certificates. A provider must be able to revoke them.
  • Issuer identifier: a certificate authority identifier whose certificate allows signing certificates (keyCertSign) and revocation lists (cRLSign). Core serves the CA certificate at {coreBaseUrl}/ssi/ca/{certificateId}, and access certificates point relying parties there.

See Signer configuration for details and an example.

Registration Certificates​

WRPR​

Point the service at the Core signer that signs registration certificates, and set the URL of your certificate policy:

registrationCertificateProvider:
signer: "REGISTRATION_CERTIFICATE"
certificatePolicy: "https://registry.example.de/policy"

certificatePolicy is the URL where you publish the policy that governs your registration certificates.

Core​

  • Signer: a REGISTRATION_CERTIFICATE signer whose name matches registrationCertificateProvider.signer. Its maxValidityDurationSeconds caps the validity of every registration certificate, up to a limit of 365 days. Its payload object is required, even when empty.
  • Revocation method: a TOKENSTATUSLIST entry in the revocation object. Required: Core does not start without it.
  • Issuer identifier: a certificate identifier.

See Signer configuration for details and an example.