mac os环境下我不是很熟悉,但是我尝试按照这个页面上的说明更新ca-certificates来解决一个错误:https : //confluence.ecmwf.int/display/WEBAPI/Web-API+故障排除要点 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
Run Code Online (Sandbox Code Playgroud)
谁能绕过这个错误?