# Cert-Web-Component - Error when missing one parameter from cert-tools

**URL:** <https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860>\
**Category:** Support\
**Created:** [April 25, 2019, 2:36am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860 "2019-04-25T02:36:17Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [April 25, 2019, 2:36am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/1 "2019-04-25T02:36:17Z")

</div>

Hello,

I’m writing this topic, because it maybe be useful for someone that catch the same error that I did.

After issue my certificate, I achieve to view and to verify it in the blockcerts universal verifier website. Very well, the certificate was fine, and it has been passed in all tests.

So, I decided to setup the cert-web-component in my application to see the certificate. I was sure that It was without error, because it was validated in the Universal Verifier.

But, to my surprise, I got one error from Cert-Web-Component.

**# Referenced certificate doesn’t appear to be valid**

So, after some hours testing and matching with others Json certificates, I discovered the problem.

The field [–issuer\_signature\_lines ISSUER\_SIGNATURE\_LINES] was missing in cert-tools config.ini file (the certificate model).

Without this parameter the cert-web-component can’t render the certificate.

I think it should work because according with the documentation ([https://github.com/blockchain-certificates/cert-tools](https://github.com/blockchain-certificates/cert-tools)) it’s a optional parameter, and as I said in the begin of the thread, it’s working, when uploaded to universal viewer, even missing the issuer\_signature\_lines field…

Att,  
Fernando.

---

<div class="post-metadata">

**Author:** ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)\
**Post date:** [May 8, 2019, 3:29pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/2 "2019-05-08T15:29:12Z")

</div>

Hi @Fernando, if you have a github account, it may be good to file this as an issue on the cert-web-component repo. I’m not sure if it really is supposed to be required or not at this time.

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [May 8, 2019, 4:04pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/3 "2019-05-08T16:04:39Z")

</div>

Hi!

I haven’t…

I’ll create one to register the issue there…

Thanks.

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [May 20, 2019, 1:08pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/4 "2019-05-20T13:08:03Z")

</div>

Hi @Fernando, you could achieve displaying certificates on your webpage using: [https://github.com/blockchain-certificates/blockcerts-verifier](https://github.com/blockchain-certificates/blockcerts-verifier)

It is an update from the cert-web-component, as it handles natively both display and verification. The API allows you flexibility in the behavior and I think you could get where you want.

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 11, 2019, 4:05pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/5 "2019-06-11T16:05:08Z")

</div>

@lemoustachiste

The blockcerts-verifier works with ethereum rospnet and bitcoin testnet ? I tried to use cert-web-component with ethereum without success…

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 11, 2019, 5:04pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/6 "2019-06-11T17:04:18Z")

</div>

Hi @Fernando, the blockcerts-verifier is agnostic of the chain. The only thing is that with a test chain, the verification process should appear gray and the validation message is different.

We have several test chains that we verify with blockcerts-verifier.

What is exactly the issue you are encountering? Could you provide a link/screenshot? Do you have errors in the console?

Thanks

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 11, 2019, 5:41pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/7 "2019-06-11T17:41:12Z")

</div>

Hello @lemoustachiste

Thanks for answering,

I still didn’t tried cert-verifier… I just tried cert-web-component with bitcoin (working) and now trying it to ethereum (not working…)…

When I click to validade button… the console print:

Computing local hash…  
validate-certificate.html:86 Comparing local and remote hashes…  
validate-certificate.html:86 Checking the receipt…

and stop the JavaScript Program…

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 11, 2019, 7:00pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/8 "2019-06-11T19:00:33Z")

</div>

Could you share the certificate you are trying to validate? I can’t really help if I don’t see what’s happening

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 11, 2019, 7:29pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/9 "2019-06-11T19:29:19Z")

</div>

Sure,

Link

[Cert](https://1drv.ms/u/s!Aovw4YAJO2UQmCFKjHn2dFz7FYnW)

 ![ErrorValidate](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/66d9ae9163db453a91d581e17d371b844661b0dd.png)

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 11, 2019, 9:24pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/10 "2019-06-11T21:24:34Z")

</div>

Verification happened successfully using blockcerts-verifier on [blockcerts.org](http://blockcerts.org)  
cert-web-component has not been maintained and has been replaced by blockcerts-verifier. I encourage you to use it for displaying and verifying your certificates.

 ![24](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/a8cefced1abbe5ceea0d883cd85efdf079c44d6d.png)

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 12, 2019, 1:30am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/11 "2019-06-12T01:30:49Z")

</div>

Hello @lemoustachiste

I took your suggest… and changed my project to blockcerts-verifier.

It’s a pretty better than web-component, and work to ethereum and bitcoin.

But, I realize some points:

a) Maybe it doesn’t work to check revocation list (Ethereum). I tried revocate the certificate upload here… but it still apear valid in verify button ([https://certedu.eastus.cloudapp.azure.com/rev\_UFP\_2.json](https://certedu.eastus.cloudapp.azure.com/rev_UFP_2.json)).

b) I’m not sure if it will allow to change the src programmatically, using for example JQuery.

I tried to change src with JQuery (the same way I did with web-component) but it doesn`t work.. I created a Id and find it to change. I don`t know if it allow do this, the same way web-component.

I`ll keep trying it.

Att,  
Fernando.

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 12, 2019, 9:15am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/12 "2019-06-12T09:15:15Z")

</div>

Revocation on Ethereum works, if you try verifying this certificate you will get the verification error on the revocation: [https://raw.githubusercontent.com/blockchain-certificates/cert-verifier-js/master/test/fixtures/ethereum-revoked-2.0.json](https://raw.githubusercontent.com/blockchain-certificates/cert-verifier-js/master/test/fixtures/ethereum-revoked-2.0.json)

As to your second point I was not sure it was working, so I tried locally and it didn’t. But I figured it would be an easy change to make for this to work, so I went ahead and made it. It’s in PR now: [https://github.com/blockchain-certificates/blockcerts-verifier/pull/94](https://github.com/blockchain-certificates/blockcerts-verifier/pull/94), but once merged (during the day), the next release should allow you to do it.

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 12, 2019, 10:00am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/13 "2019-06-12T10:00:57Z")

</div>

@Fernando v.1.14.0 is out and handles your need.

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 12, 2019, 10:56am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/14 "2019-06-12T10:56:27Z")

</div>

Cool ! Amazing component !

The src feature work very well, and I found the error in my revocate file.

Everything is working now with Cert-Verifier.

Thank you very much @lemoustachiste

 ![Solved](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/447b3ed857c37a1b62707fa4ff1d47cc5ecf639d.png)

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [June 12, 2019, 11:49am UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/15 "2019-06-12T11:49:40Z")

</div>

Great, nice to hear it worked perfectly well for you.

If you have the time, do you think you could add some `pt` translations here: [https://github.com/blockchain-certificates/cert-verifier-js/blob/master/src/data/i18n.json](https://github.com/blockchain-certificates/cert-verifier-js/blob/master/src/data/i18n.json)? It’s for the verification process. We want to internationalize the component even more (all internal strings) but haven’t had the time just yet, but this would be a good start already 🙂

---

<div class="post-metadata">

**Author:** ![Fernando](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fernando](https://community.blockcerts.org/u/Fernando)\
**Post date:** [June 12, 2019, 3:00pm UTC](https://community.blockcerts.org/t/cert-web-component-error-when-missing-one-parameter-from-cert-tools/1860/16 "2019-06-12T15:00:05Z")

</div>

Ok, I’ll take a time to translate it to pt-Br.
