Network & Certificates
Introduction
This page explains how services in the data space are reached over the network and how one participant can trust a credential presented by another.
There are two separate trust problems, solved by two different mechanisms:
- Transport trust: "am I really talking to
keycloak-avamet, and is the connection encrypted?" Solved by public DNS + Let's Encrypt. - Credential trust: "did
avametreally issue this verifiable credential, and is it allowed to?" Solved by DID documents + the Trusted Issuers Registry. It is a layer on top of transport trust, not a replacement for it.
Public domains
The services of the data space are published over HTTPS and follow the pattern <component>-<participant>.pgtec-vrain-dataspace.eu:
| Component | Example hostname |
|---|---|
| Keycloak (credential issuer) | keycloak-avamet.pgtec-vrain-dataspace.eu |
| Verifier | verifier-avamet.pgtec-vrain-dataspace.eu |
| DID document | avamet.pgtec-vrain-dataspace.eu |
| APISIX gateway | apisix-avamet.pgtec-vrain-dataspace.eu |
| Trust Anchor (Trusted Issuers Registry) | tir.citcom-vrain-dataspace.eu |
Every public host has its own Let's Encrypt certificate, issued and renewed automatically. Every request for data goes through the provider's APISIX gateway, where it is checked against a verifiable credential and an ODRL policy (Access control).
Signing keys
Besides the HTTPS certificates, each participant has its own signing keys: one to sign the verifiable credentials it issues, whose public part is published in its DID document, and one for its verifier. They are independent from the certificates that protect the web connections.
How does one service trust another's credential?
No service hard-codes or imports another participant's certificate. Trust is established at runtime with two independent checks.
Step 1: is this really avamet talking? (transport trust). To check a credential issued by AVAMET, the verifier resolves its DID document:
It is served over standard HTTPS.
Step 2: is the signature valid and is the issuer allowed to sign? (credential trust). The DID document lists AVAMET's public key; the verifier checks the credential's signature against it (a JWT signature check, independent of TLS). A valid signature is not enough, since anyone could deploy a Keycloak claiming to be "avamet", so the last check is against the Trusted Issuers Registry at tir.citcom-vrain-dataspace.eu: which DIDs are registered and which credential types each may issue.
verifier AVAMET
──────── ────────
1. GET https://avamet.<domain>/.well-known/did.json ──► serves did.json (public key only)
2. verify the VC signature with that public key
3. ask the Trusted Issuers Registry: is this DID a trusted issuer?
4. accept the credential only if 2 and 3 both pass
Transport trust guarantees you are talking to the participant you think you are; credential trust guarantees that participant is authorised to make the claim it is making.
Related pages
- Identities and credentials and DIDs.
- Access control: what the verifier does with the credential once it is trusted.
- Operations: what to check when access fails.