【发布时间】:2019-03-19 12:09:06
【问题描述】:
我正在尝试使用 api 下载数据。我的代码是:
curl -u "accessID***:accessKey***" -X GET https://api.au.sumologic.com/api/v1/collectors?limit=2 (just follow the example from https://help.sumologic.com/APIs/Search-Job-API/About-the-Search-Job-API). But I have got the error:
Curl:(60) SSL 证书问题:无法获取本地颁发者证书更多详情:https://curl.haxx.se/docs/sslcerts.html
curl 未能验证服务器的合法性,因此无法与它建立安全连接。 ...
图片:
我试图从https://curl.haxx.se/docs/sslcerts.html 读取信息。但这是我第一次使用 api 和 curl。我真的不明白如何解决这个问题。
我在 Windows 服务器上运行此代码。我从https://curl.haxx.se/download.html 下载 curl。版本是
Windows 64 位 7.61.1 二进制 curl 项目。
【问题讨论】:
标签: api ssl curl download sumologic