在mac os环境下,我并不完全熟悉,但是我尝试按照此页面上的说明更新ca证书以解决错误:https://confluence.ecmwf.int/display/WEBAPI/Web-API+Troubleshooting第3.1.2.3节。
我创建了文件~/new-root-certificate.crt
,然后运行:
alert:~ Me$ sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt
SecCertificateCreateFromData: One or more parameters passed to a function were not valid.
Error reading file /Users/Gino/new-root-certificate.crt
谁绕过此错误?