The did:web
method is a decentralized identifier solution that leverages existing web infrastructure and domain reputation instead of blockchain technology. This method enables organizations to create DIDs using their established web domains, making it particularly suitable for entities that already have a web presence and want to participate in decentralized identity systems.
The method works by storing a did.json
document at a well-known location on a web server, secured by standard TLS/SSL certificates. Unlike blockchain-based DIDs, did:web
relies on traditional web security infrastructure and DNS systems. This approach offers several advantages:
However, this also means the method inherits both the strengths and limitations of centralized web infrastructure, including dependency on DNS and certificate authorities. The method is particularly well-suited for organizations that want to issue verifiable credentials or participate in SSI ecosystems while maintaining control over their identity infrastructure.
Key Technical Components:
did:web:<domain-name>[:<path>]
did:web:example.com
or did:web:example.com:user:alice
Resolution Process
Convert DID to HTTPS URL by:
Perform HTTPS GET request
Verify DID document ID matches requested DID
Process document according to JSON-LD
or JSON
rules
Security Features
JsonWebKey2020
EcdsaSecp256k1RecoveryMethod2020
ECDHE-ECDSA-AES256-GCM-SHA384
ECDHE-RSA-CHACHA20-POLY1305
Ed25519
X25519
P-256
secp256k1
JSON-LD
JSON
RFC8484
for DNS privacyDNSSEC
for DNS securityIf you are featured in the Web of Trust Map and wish to exercise your GDPR rights, including the right to be forgotten, visit the privacy policy page