curl --data-binary @codecov.yml https://codecov.{my.url.something}/validate
这是错误:
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.
我试过的:
- 使用重新安装 curl
brew install curl
- 重新导入所有内部证书
几次尝试后我仍然收到此错误,这是一个愚蠢的错误:
当我键入时:which curl
它在另一个应用程序下显示 curl 命令,而不是/usr/bin/curl
(mac)。因此,如果有人遇到此错误,希望它会有所帮助。