OpenIndiana 上的 cURL 错误:“错误:设置证书验证位置时出错”

OpenIndiana 上的 cURL 错误:“错误:设置证书验证位置时出错”

我尝试在 OpenIndiana 上git clone使用存储库https://,但收到以下错误:

Initialized empty Git repository in /home/gak/vagrant/.git/
error: error setting certificate verify locations:
  CAfile: /etc/curl/curlCA
  CApath: none

warning: remote HEAD refers to nonexistent ref, unable to checkout.

答案1

找到了解决方案http://zero-knowledge.org/post/78

mkdir /etc/curl && cat /etc/certs/CA/*.pem > /etc/curl/curlCA

相关内容