did.json (did:web)
/.well-known/did.json
Standard: did:web method (W3C CCG)
A decentralized identifier for your domain, resolved straight from its HTTPS endpoint.
What it is
did:web derives a DID from a domain name: did:web:example.com. The DID document is served from the domain itself — at /did.json, or via the /.well-known/did.json fallback this archive uses. No blockchain or registry involved.
The threat it addresses
Traditional identifiers are issued by centralized registries (CAs, DNS registrars, platforms) and don't carry cryptographic capability. did:web gives a domain an addressable, verifiable identifier whose public keys are published by the domain owner and can rotate — useful for verifiable credentials and web trust.
How it works
- The identifier did:web:<host> maps to this origin; the document is served at /.well-known/did.json.
- The document lists verification methods (this site's Ed25519 public JWK), authentication and assertion relationships.
- Verifiers resolve the DID, fetch the document over HTTPS (TLS is the trust root), and use the listed keys to verify signatures.
Try it
Live demo
Real document, real key — the same key that signs this site's did-configuration JWT
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"id": "did:web:well-known.page",
"verificationMethod": [
{
"id": "did:web:well-known.page#well-known-showcase-demo-1",
"type": "JsonWebKey2020",
"controller": "did:web:well-known.page",
"publicKeyJwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "WxFdeUQXXBWww2I80HoinnWAz0b2xfFPTGwVe9jlYTk",
"use": "sig",
"alg": "EdDSA",
"kid": "well-known-showcase-demo-1"
}
}
],
"authentication": [
"did:web:well-known.page#well-known-showcase-demo-1"
],
"assertionMethod": [
"did:web:well-known.page#well-known-showcase-demo-1"
],
"service": [
{
"id": "did:web:well-known.page#well-known-showcase",
"type": "LinkedDomains",
"serviceEndpoint": "https://well-known.page"
}
]
}