Certificate requirements
The X.509 requirements MATTR VII applies to Verifier root CA, verifier intermediate CA and Verification Request Signer Certificates used for verifier authentication.
This page lists the requirements for the certificates in a verifier's chain of trust. For how the chain fits together, see the verifier authentication overview.
Certificate requirements
The following lists depicts the requirements for external certificates used in MATTR VII. Some of the requirements are common across all certificates, while others are specific to the type of certificate (Verifier root CA, verifier intermediate CA, VRSC).
- When using managed verifier certificates, MATTR VII automatically ensures that all certificates meet these requirements.
- When using unmanaged verifier certificates, it is the responsibility of the verifier to ensure the Verifier root CA and the signed verifier intermediate CA comply. MATTR VII issues the VRSCs beneath the intermediate CA and ensures they comply.
Common certificate requirements
-
Certificate format & basic attributes:
- PEM format must contain a valid X.509 certificate.
- Version must be v3.
Issuerfield must be present and valid.- Issuer Alternative Name must be present and contain a valid email address or URI.
- Serial Number:
- Must be present.
- Must contain 1-20 digits (Best practice: Use a positive, non-sequential value).
-
Subject attributes:
- Subject field must be present:
- Country (C): must be present and be a valid ISO 3166-1 alpha-2 code.
- Common Name (CN): must be present and non-empty.
- Subject field must be present:
-
Public Key requirements:
- Subject Public Key must be present.
-
Extensions:
- Certificate must include extensions.
- Duplicate extensions are not allowed (No more than one extension with the same
extnID). - Mandatory extensions:
- Subject Key Identifier: Must be present and non-empty.
- Key Usage:
- Must be present.
- Must match the intended use of the certificate (e.g. Verifier root CA, VRSC).
-
Validity period:
NotAftermust be afterNotBefore.NotAftercannot be in the past (expired certificates are invalid).- Future dated certificates are valid (e.g.
notBeforecan be in the future). - Must be within allowed limits for certificate type:
- VRSC: Maximum 1187 days from issuance.
-
Certificate Revocation List (CRL):
- If a CRL is provided, it must be valid and signed by the verifier root CA.
- The CRL must be accessible via a valid URI.
Verifier root CA specific requirements
- Must include the
keyCertSignandcRLSignkey usages. - Basic constraints must be present and
CAmust be set toTRUE. For an unmanaged Verifier root CA, omit the path length constraint or set it to at least1, so that wallets accept chains that pass through a verifier intermediate CA. - Issuer Alternative Name must be present and contain a valid email address or URI.
- Signature must be self-signed and verifiable.
- Public key must use one of the supported public key algorithms and curves as defined in
ISO/IEC 18013-5:2021 B.3:
- ECDSA curves:
P-256,P-384,P-521,brainpoolP256r1,brainpoolP320r1,brainpoolP384r1,brainpoolP512r1 - EdDSA key types:
Ed25519,Ed448
- ECDSA curves:
Verifier intermediate CA specific requirements
These apply when you sign a verifier intermediate CA with an unmanaged Verifier root CA:
- Must certify the public key in the certificate signing request generated by MATTR VII.
- Must be signed by the Verifier root CA it was requested beneath.
- Basic constraints must be present and
CAmust be set toTRUE. - Must include the
keyCertSignandcRLSignkey usages. - Common name must differ from the Verifier root CA's common name.
- Authority Key Identifier must be present and match the Verifier root CA's Subject Key Identifier.
- Subject Key Identifier must be present.
- Must not exceed the Verifier root CA's validity period.
VRSC specific requirements
MATTR VII issues VRSCs to these requirements:
- Must be signed by a valid Verifier root CA, or by a verifier intermediate CA beneath one.
- Common name must differ from the issuing CA's common name.
Issuerfield must be present and must match the exact binary value of the subject of the certificate that signed it.- Must include the
digitalSignaturekey usage exclusively. - Must include the
Subject Alternative Nameextension with your tenant domain, which matches theclient_idof signed remote requests. Device-bound signer certificates used for in-person requests carry no subject alternative name. - Extended key usage must be present and include the correct OID:
1.0.18013.5.1.6.
- Signature must be verifiable against the issuing CA.
- Authority Key Identifier must be present and match the issuing CA's Subject Key Identifier.
- Must not exceed the issuing CA's validity period (i.e.
notBeforeandnotAftermust be within the issuing CA's validity period).
Example certificates
See an example of valid certificates parsed using the MATTR Labs X.509 certificate decoder:
How would you rate this page?
Last updated on