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) 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…