找不到/etc/pki/tls/certs/ca-bundle.crt

Nee*_*war 13 ssl curl 12.10

我正在使用curl -L https://get.rvm.io | bash -s stable安装 RVM。我收到一条错误消息

CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
Run Code Online (Sandbox Code Playgroud)

我在网上搜索了一下,发现更改权限/etc/pki/tls/certs/ca-bundle.crt应该可以完成工作。但是/etc/pki我的系统中缺少整个目录。我该如何解决?

cwe*_*ske 18

在 ubuntu/debian 上,这个文件在/etc/ssl/certs/ca-certificates.crt. 你可以符号链接它。该/etc/pki/路径在 Redhat 上使用。