1

I was trying to git clone a repository using https:// on OpenIndiana, and got the following error:

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.
gak
  • 743
  • 1
  • 9
  • 23

1 Answers1

1

Found a solution on http://zero-knowledge.org/post/78:

mkdir /etc/curl && cat /etc/certs/CA/*.pem > /etc/curl/curlCA
gak
  • 743
  • 1
  • 9
  • 23