How must a HAIP verifier validate the issuer signature of an SD-JWT VC?

SD-JWT VC issuer signature validated through its x5c chainHAIP 1.0 §6.1.1MUSTRoles: verifier

Requirement as recorded in the ProtocolSoup registry

This specification mandates the support for X.509 certificate-based key resolution to validate the issuer signature of an SD-JWT VC. This MUST be supported by all entities (Issuer, Wallet, Verifier). The SD-JWT VC MUST contain the credential issuer's signing certificate along with a trust chain in the x5c JOSE header parameter as described in section 3.5 of [I-D.ietf-oauth-sd-jwt-vc]. The X.509 certificate of the trust anchor MUST NOT be included in the x5c JOSE header of the SD-JWT VC.

Read §6.1.1 in HAIP 1.0

Self-test verdict

PassCommit 00bac3fEvaluated

This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.

Captured from production

Captured Commit 00bac3f

Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.

Passing exchange

Not captured: Acceptance needs an SD-JWT VC whose x5c chain reaches a trust anchor of this verifier, and the conformance client holds no issuer key under one. A credential from ProtocolSoup's own issuer passes this same check; this capture does not obtain one.

Failing exchange

Rejected, as requiredConformance client

The conformance client creates its own CA and issuer certificate, signs an SD-JWT VC with the issuer key, and puts only the issuer certificate in the x5c header, leaving its root out as HAIP requires. It presents the credential, with a valid Key Binding JWT, in an encrypted direct_post.jwt response to a HAIP request at /oid4vp/response. Its chain leads to no trust anchor this verifier holds, so the verifier must deny it in the result at /oid4vp/result.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.GET https://protocolsoup.com/oid4vp/request/I-DiebUNQhJr2Qg1mZnqvxOe200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    GET /oid4vp/request/I-DiebUNQhJr2Qg1mZnqvxOe HTTP/2.0
    Accept: application/oauth-authz-req+jwt
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    

    Response

    HTTP/2.0 200 OK
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65ba1a61f8c3cdb-MSP
    Content-Type: application/oauth-authz-req+jwt
    Date: Sun, 06 Dec 2026 13:28:02 GMT
    Fly-Request-Id: 01M95RMGYXTF41NAQ1P6NNJGKX-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=FBq26A9BdgySAnLbflky%2FDE1HKPUfZmTBgbt4ZENUF8rhUoLr61lD%2FoVmN0cO%2BVHsZKpP%2BlGMeGTMdsIC3oEapyyZg%2BNrm9lWeX6rwtNh9vmS4J5gDOlAbr2220PYWmXUGU%3D"}]}
    Server: cloudflare
    Speculation-Rules: "/cdn-cgi/speculation"
    Vary: Origin
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    eyJhbGciOiJFUzI1NiIsInR5cCI6Im9hdXRoLWF1dGh6LXJlcStqd3QiLCJ4NWMiOlsiTUlJQnp6Q0NBWFdnQXdJQkFnSUJBakFLQmdncWhrak9QUVFEQWpBN01SVXdFd1lEVlFRS0V3eFFjbTkwYjJOdmJGTnZkWEF4SWpBZ0JnTlZCQU1UR1ZCeWIzUnZZMjlzVTI5MWNDQkZjR2hsYldWeVlXd2dRMEV3SGhjTk1qWXdPREE0TVRFeU16TTFXaGNOTWpjd09EQTRNVEV5T0RNMVdqQXlNUlV3RXdZRFZRUUtFd3hRY205MGIyTnZiRk52ZFhBeEdUQVhCZ05WQkFNVEVIQnliM1J2WTI5c2MyOTFjQzVqYjIwd1dUQVRCZ2NxaGtqT1BRSUJCZ2dxaGtqT1BRTUJCd05DQUFRMXRMRlB2QlMwM3g0ZzdTUWtYbkhZWWR4WG5GUy8vd3dqZE5yTnAwVG9GU0VGQnhTRko0K0sxbG5GS0swU3NNWWJqK1pNZXdKMkljbTcveXBScElzQm8zTXdjV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19LCJsZHBfdmMiOnsicHJvb2ZfdHlwZV92YWx1ZXMiOlsiRGF0YUludGVncml0eVByb29mIiwiRWQyNTUxOVNpZ25hdHVyZTIwMjAiXX0sIm1zb19tZG9jIjp7ImRldmljZWF1dGhfYWxnX3ZhbHVlcyI6Wy03XSwiaXNzdWVyYXV0aF9hbGdfdmFsdWVzIjpbLTddfX19LCJkY3FsX3F1ZXJ5Ijp7ImNyZWRlbnRpYWxzIjpbeyJmb3JtYXQiOiJkYytzZC1qd3QiLCJpZCI6ImRlZ3JlZSIsIm1ldGEiOnsidmN0X3ZhbHVlcyI6WyJodHRwczovL3Byb3RvY29sc291cC5jb20vY3JlZGVudGlhbHMvdW5pdmVyc2l0eV9kZWdyZWUiXX19XX0sImV4cCI6MTc5NjU2Mzk4MSwiaWF0IjoxNzk2NTYzNjgxLCJpc3MiOiJ4NTA5X2hhc2g6bjVqMksxSHR1d0FTMEpkQS1iRGNPQW5LRnRtZ3g1aTQzZUdpUFpkM05CayIsImp0aSI6IkktRGllYlVOUWhKcjJRZzFtWm5xdnhPZSIsIm5vbmNlIjoiT01pUjJrLXNQQ0pFdERoZjlxaW5hWGgwU0JrRTF2dy1OLVFQMlowY3FOQSIsInJlc3BvbnNlX21vZGUiOiJkaXJlY3RfcG9zdC5qd3QiLCJyZXNwb25zZV90eXBlIjoidnBfdG9rZW4iLCJyZXNwb25zZV91cmkiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZwL3Jlc3BvbnNlIiwic3RhdGUiOiJ1bXhsckdzS1VBRzJTcHg1TXlmT2JDUVUifQ.6WzTeZCXglUCQvAxrUzhfQeIJiA5xWjy68wPWskT3DauE6URTJlZdZ0TuzCvFfk0OVXJ489Y7ncf3K3ZTR0Ukg
  2. 2.POST https://protocolsoup.com/oid4vp/response200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vp/response HTTP/2.0
    Content-Length: 2955
    Content-Type: application/x-www-form-urlencoded
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    response=eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTEyOEdDTSIsImVwayI6eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Im9MUEQtNmR1YmVxQ1R2eUtxX21xOF94QnFjbnNIVjZRSXNyRS1PWUtIZVUiLCJ5IjoiRUFpbkx6WVh2bnU4YmVVZl93ZEhQX25JUU81dWp1SGFxQ21qelNBTGxRZyJ9LCJraWQiOiJWXy1KR3dsaCJ9..y6H1-4hmfQisVzyj.jy5tpE_ma_VTU-hBYXxGAZcVBy6TAJxk_uh-oHC1Ec4g6H98SfB1-3QJequPxcA09bxwgBsent_MWhcOb6cncGdasQ0UBrHBEDA3Ot2-TygOjbsjRKj1u1-WFGLSoePzb-vUa73QCdHodOeYt_hUqNZaUSe5-tiy8YbumQV6HlV9IGapuAeQtLMo-W7R8oVlT8wYG1_A7u0wbd58ToUDQWsdva__P7lSlbFT3SCeOhthQPmHwyUmk5jJA2GQuJ19kLqtvjzAbjl4nm55meklw8yC9gBqyx9E-ReUyzeUKd08IpserWTAXulMdAOTXPoU6RUGlCbRB7nOBMOlEShjJom8tOrIfqt5zuYr4DKYLVrH4imGVbL32XGYZpN0q4PuKhuuptiE1L-jY-D6uU5KwAnQ6Cd5bGlTZR7DBPycqkA3FKquA0l-CF-EnSudOIxwHuWrberAzMTyzMEJ90A2P3PHb86-6omvHOqH1z6nkC8RDHcC6aHrVOlWGH0DzTwpwkrgSW1u2w_Fk4FwWhh88fmsRrUnY6GvDLeldjSTHPFRvE2rhLe-LWrLu83tzLCrY2xHuKNY90boVHk6eOp80bh3KODtTPt5WT0t7GifOAkliDfEBnu56HKGN42Pad-SSDnXY935criF7JeP7wvz-JlyWj5We8oYIizE5qq4u32GCOUCAGOY7KJZg-H-gSToFMjY25gXheefZrGPIEdF6HK5IcxW9lA3dyar-vwmEBkrX6qx9ck1nvB8G9PL5g626gm39EOwOV9oW_keo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M_UTih1yIQyyR_yS4o9AU4k05qpJrd12mvfFComR4xDnhSxCSwvnxKhQZT_4H0da9N7eY_7Frb0ieP19BhQBXlAM5Hb2BBGR5l4KhM-9-JGElYtIZNZm8I0wRkEBI_A6YcoUPiUjIm_xFmAr-7F7EeumlXrPeo8X6uzI9ILuOd70e6eQAUGvvkrojES1IfnvNg9aeJqoQwjWoHko1op6QPeN3WmK0ks-DS12eNci_8AxQazTk6xQe3fBTdOZtOwj6wqCxXgoZBIBLhlK1fvZuY0-7YkBpWTuwbCBoQrkzF_HsxoYSxqKo8w2A0H_FPy2yoQLh6i4Cc45-77EpHPsUWB1bzj3ziz5SfVrubPrFO4e-4yBbPfJ0m3Kul-Os11GsUAO21g8tFKXxQ5aFeJAX15ORMqzmyn63kg-tkHupLh0kEyXgKRp55Sl4SwsGtpKv9Ap6YhYd5dNli5RymEbkSB7OYdbyffcsVpJ8e35QC4y7NgwiHmkM5r-2Pp8eizYT4wCN5dJziHsAsVi4TKVCpz9JHiWogUUzJCJ5kfP7FXvcvXWKFLKxnxrBQZ7QxuW8a8IM8H1E0fNzl0o8p1YLOOCi_7qkBG9IGSor2x4QIEcJHHQKhDZPKNoi7w1_KrkWAo8pWZWg74bJ8AZihS1xp3I-k7K3eEvKXWhHgQL184WHzHt2orzIfY1GxyAEqs4mQJQrvSdxVkkBrrModQMZgrR5Vct07uaSqoIH5m3PPjy9izpJ9zvri2YdrB82y5QTiSsk1PhJGHzXfrww6BqzeL.EImPXGpYco0NxXvC0-5DBw

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65ba1ac5d5e3cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:28:03 GMT
    Fly-Request-Id: 01M95RMHY6VG13J4HMTG6HFFN4-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=b78yc2UMOLIxvYSFuB8Ic6FxNiZAFRR79eQJluRb2i9QmpdY8qwQPa66ZEbn%2BeQhIpSh6g74EqtAZyOhdJv04TxyoQOfUHRoKJEbmbbIIQUAA9SJL%2B%2FT%2FIp86Opmydv7Okg%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=4,cfOrigin;dur=203
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"redirect_uri":"https://protocolsoup.com/oid4vp/result/I-DiebUNQhJr2Qg1mZnqvxOe"}
    
  3. 3.GET https://protocolsoup.com/oid4vp/result/I-DiebUNQhJr2Qg1mZnqvxOe200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    GET /oid4vp/result/I-DiebUNQhJr2Qg1mZnqvxOe HTTP/2.0
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65ba1b29bea3cdb-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:28:04 GMT
    Fly-Request-Id: 01M95RMJXFA7D0DC9E98SGBPQG-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=TU9lsmgBwjxJE69f4fvwrOOLdkelGwRvPD4aiX8k4NV0ybe4GXzU8q8gYk3LwQBAzx65F%2FFRGXM9G54xPPKnduuhKxiEalWCVrSranFSmcHaP%2Bvygqx3PutrvrehKKyadc4%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=5,cfOrigin;dur=198
    Speculation-Rules: "/cdn-cgi/speculation"
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"request_id":"I-DiebUNQhJr2Qg1mZnqvxOe","result":{"nonce_validated":true,"audience_validated":true,"expiry_validated":true,"holder_binding_verified":true,"credential_evidence":{"subject":"https://issuer.conformance-client.invalid","format":"dc+sd-jwt","vct":"https://protocolsoup.com/credentials/university_degree","issuer":"https://issuer.conformance-client.invalid","disclosed_claims":{"given_name":"Conformance"},"full_claims":{"cnf":{"jwk":{"crv":"P-256","kty":"EC","x":"I5Mc5CziqnmT4mLYVpwbW9wufZahPzdxYT1tUOfGwj8","y":"A_jB40dfu8C7NCJ_jphCtTCqIIkHJfPAXWwNWqQBnWY"}},"exp":1796567280,"given_name":"Conformance","iat":1796563680,"iss":"https://issuer.conformance-client.invalid","vct":"https://protocolsoup.com/credentials/university_degree"}},"credential_evidence_set":[{"subject":"https://issuer.conformance-client.invalid","format":"dc+sd-jwt","vct":"https://protocolsoup.com/credentials/university_degree","issuer":"https://issuer.conformance-client.invalid","disclosed_claims":{"given_name":"Conformance"},"full_claims":{"cnf":{"jwk":{"crv":"P-256","kty":"EC","x":"I5Mc5CziqnmT4mLYVpwbW9wufZahPzdxYT1tUOfGwj8","y":"A_jB40dfu8C7NCJ_jphCtTCqIIkHJfPAXWwNWqQBnWY"}},"exp":1796567280,"given_name":"Conformance","iat":1796563680,"iss":"https://issuer.conformance-client.invalid","vct":"https://protocolsoup.com/credentials/university_degree"}}],"policy":{"allowed":false,"code":"credential_signature_invalid","message":"Presentation denied: SD-JWT VC issuer key validation failed: issuer x5c chain is untrusted: verify certificate chain: x509: certificate signed by unknown authority","reasons":["SD-JWT VC issuer key validation failed: issuer x5c chain is untrusted: verify certificate chain: x509: certificate signed by unknown authority"],"reason_codes":["credential_signature_invalid"],"evaluated_at":"2026-12-06T13:28:03.369203671Z"}},"status":"completed"}
    

Tests

Implementation

Explainer

What this requires

HAIP 1.0 Section 6.1.1 states: "This specification mandates the support for X.509 certificate-based key resolution to validate the issuer signature of an SD-JWT VC." It goes on: "The SD-JWT VC MUST contain the credential issuer's signing certificate along with a trust chain in the x5c JOSE header parameter as described in section 3.5 of [I-D.ietf-oauth-sd-jwt-vc]. The X.509 certificate of the trust anchor MUST NOT be included in the x5c JOSE header of the SD-JWT VC."

For a verifier this means the issuer's public key comes from the leaf certificate in the issuer-signed JWT's x5c header. That key is used only after the chain has been validated to a root the verifier already trusts. A credential whose chain does not reach one of those roots is not accepted.

Why it exists

HAIP does not give a reason in the text. Without this rule, an SD-JWT VC that carries its own x5c would describe its own trust: any party could mint a certificate, sign a credential with it, and present it. Validating the chain to an anchor chosen by the verifier's operator turns "this credential is signed" into "this credential is signed by an issuer this verifier trusts".

What non-compliance looks like

A verifier takes the leaf key from x5c and checks the JWT signature, but never validates the chain. A self-made issuer then passes. A softer failure is a verifier that accepts an x5c whose last entry is the self-signed root and builds trust from that root instead of from its own store.

How ProtocolSoup tests it

Every presented dc+sd-jwt credential takes the same path, including one ProtocolSoup's own issuer signed. The issuer keeps no record of what it issued for the verifier to consult. The verifier's trust anchors are the roots in OID4VP_SD_JWT_TRUST_ANCHOR_PEM or OID4VP_SD_JWT_TRUST_ANCHOR_PEM_FILE, plus the root certificate the issuer of the same deployment persisted under SHOWCASE_MDOC_PKI_PATH or {SHOWCASE_DATA_DIR}/mdoc. sdJWTIssuerJWK parses x5c and rejects an empty array. It rejects any self-signed CA certificate in the array with "issuer x5c must exclude the trust anchor", then validates the chain against that pool at the current time. The leaf key is then used to verify the issuer signature. Any failure on this path, including a verifier that holds no trust anchor at all, is reported as credential_signature_invalid. Intermediates after the leaf are accepted; only the anchor is refused.

TestSDJWTIssuerRequiresTrustedLeafOnlyX5C configures a root pool and signs an SD-JWT VC with a leaf-only x5c. It asserts that the resolved key verifies the credential. It then signs one with [leaf, root] and asserts an error containing "exclude the trust anchor", checks the same credential against a pool holding a different root, and checks it against a verifier with no pool. TestDirectPostPolicyDeniesSDJWTWithoutIssuerCertificateChain presents an SD-JWT VC with no x5c to the verifier's response endpoint and asserts the policy reason credential_signature_invalid.

Related requirements

All HAIP 1.0 requirements · OID4VCI protocol page