Skip to content
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

Sample cert does not validate on blockcerts.org #13

Open
ghost opened this issue Aug 7, 2018 · 0 comments
Open

Sample cert does not validate on blockcerts.org #13

ghost opened this issue Aug 7, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 7, 2018

https://community.blockcerts.org/t/inconsistent-signed-json-examples-between-repos/1248

This cert (https://raw.githubusercontent.com/blockchain-certificates/cert-web-component/master/demo/sample_signed_cert-valid-1.2.0.json) does not validate on blockcerts.org but apparently validates with the cert-web-component.

The error I'm getting back looking at the console logs is this:

[Error] Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made. (got-issuer_live.json, line 0)

on this request copied from the browser network requests:

curl 'https://www.blockcerts.org:80/mockissuer/issuer/got-issuer_live.json' \
-XGET \
-H 'Origin: https://www.blockcerts.org' \
-H 'Accept: */*' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15' \
-H 'Referer: https://www.blockcerts.org/'

Seems to be related to the :80 that is being added on, probably since the link is a non-https link, and probably being redirected to the https equivalent but with the :80 appended? Taking off the :80 works.

ghost pushed a commit that referenced this issue Aug 7, 2018
#13 - removing invalid cert due to non-https link for issuer profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants