Closed wsong-fv closed 4 years ago
@WadeBarnes - can you take a look at this one? Thanks.
$ curl -v -X GET 'https://www.von.gov.on.ca/api/v2/search/credential/topic?name=shop&inactive=false&latest=true&revoked=false' -H 'cache-control: no-cache' -H 'postman-token: 391c8cab-8253-ee4c-2c39-d076d10d420b'
Note: Unnecessary use of -X or --request, GET is already inferred.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 142.34.208.209:443...
* TCP_NODELAY set
* Connected to www.von.gov.on.ca (142.34.208.209) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [93 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1926 bytes data]
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
} [2 bytes data]
* SSL certificate problem: unable to get local issuer certificate
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Using SSL Server Test indicates the certificate chain is incomplete:
I've verified the route only contains the certificate for www.von.gov.on.ca
, and not the others.
Added the missing certificates:
Calling the API using curl
works now.
@wsong-fv, please try again.
@WadeBarnes Yes, it is fixed now.
Thanks for confirming.
Hello, I am getting this error when trying to access the orgbookON api:
The api seems to work fine from the vonx website, but I don't know why it wouldn't work elsewhere.