-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cert-issuer fails when using the example verifiable-credential.json #247
Comments
hmm, I think it could be related to the fact that you are using the examples context: If that's the case, and you really want to use the examples context, there 2 ways you can preload the context. Either in conf.ini:
Tip: you can do something like Or with the CLI:
|
Hi! Thank you for your quick reply.
If I don't remove the line from the file, I get the same error even after downloading the context file and adding the lines you mentioned in conf.ini |
You should look at the reason why the Error is raised from there:
Reasons could be different, but the low hanging one could be: is your wallet funded? |
I have tried to debug it but not sure what else can I do. There is enough balance in the wallet yup. I am not sure if there is a problem with the docker container or if there is some issue with the default files given. Apologies, I am new to blockchain so any advice would be helpful. Also if you would like, all I did was follow the steps in the Readme of cert-issuer while choosing 'sample unsigned certificate' for the issuing certificate, |
is your private key correctly defined in |
you @context property needs to be an object, not an array: { |
This is my verifiable-credential.json:
{ "@context": [ "https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/examples/v1", "https://w3id.org/blockcerts/v3" ], "id": "urn:uuid:bbba8553-8ec1-445f-82c9-a57251dd731c", "type": [ "VerifiableCredential", "BlockcertsCredential" ], "issuer": "did:example:23adb1f712ebc6f1c276eba4dfa", "issuanceDate": "2022-01-01T19:33:24Z", "credentialSubject": { "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", "alumniOf": { "id": "did:example:c276e12ec21ebfeb1f712ebc6f1" } } }
I am not sure if I am supposed to change anything here, but when I try to run
cert-issuer -c /etc/cert-issuer/conf.ini --verification_method "did:example:23adb1f712ebc6f1c276eba4dfa"
, I get the following error:Could someone tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered: