我想从sh脚本调用API URL,但是当我使用
curl -vL -X POST "https://....
我收到错误消息:
* About to connect() to api.xxx.xx in port 443 (#0)
* Trying x.x.x.x...
* Connected to api.xxx.xx (x.x.x.x) port 443 (#0)
* error reading ca cert file /etc/ssl/certs/ca-certificates.crt (Error while reading file.)
* Closing connection 0
curl: (77) Problem with the SSL CA cert (path? access rights?)
所以我了解的是,ssl证书有问题。
我检查了路径,/ etc /文件夹中没有./ssl/certs/certificates.cert
foldertree / file。
所以我希望有人能提供进一步的帮助。
BTW:系统(uname -a):
4.6.0-xilinx-gff8137b-dirty #22 SMP PREEMPT Fri Dec 22 12:25:44 CST 2017 armv7l GNU/Linux
...更详细地讲,它是Antminer Z9mini,在这里我正在寻找可以远程控制它的选项,因此,如果有人对此也有想法,我也将不胜感激。 :)