Problem
Under OpenIndiana, you might have tried a git clone https://github.com/something....and got this:
Cloning into something...
error: error setting certificate verify locations:
CAfile: /etc/curl/curlCA
CApath: none
while accessing https://github.com/something....
error: error setting certificate verify locations:
CAfile: /etc/curl/curlCA
CApath: none
while accessing https://github.com/something....
Solution
The fix is easy:
su
Password:
Password:
mkdir -p /etc/curl && cat /etc/certs/CA/*.pem > /etc/curl/curlCA
No comments:
Post a Comment