Blockcerts Wallet only supports certificates which match the v2.0 specification error

Hi,

Getting below error when trying to import the certificate in android mobile wallet.

Blockcerts Wallet only supports certificates which match the v2.0 specification. This certificate is missing the displayHTML attribute and cannot be rendered

How can i generate a certificate with 2.0 Specification & displayHTML attribute? BTW, i used the steps provided in Readme file for both cert-tools & cert-issuer.

Thanks,
Gowtham

1 Like

I got the same error. Please help to give us an answer. thanks.

Hi,

You can fix it adding this to conf.ini:

additional_global_fields = {"fields": [{"path": "$.displayHtml","value": "<h1>Hello World</h1>"}]}

Hope it helps!

Hello Sandoche, are you talking about de conf.ini in the cert-tools or in the cert-issuer???
Thanks!

It’s in cert-tools but actually you also need to add the data specifications in @context.
If you use this branch: https://github.com/blockchain-certificates/cert-tools/pull/27 you can directly use the display_html I included in the conf.ini file.