I am trying to use curl on Yosemite and I keep getting the following errors:
01-09-14 17:49:45> curl https://www.kernel.org/pub/software/scm/git/git-manpages-2.1.0.tar.gz
curl: (51) SSL: certificate verification failed (result: 5)
I know I can add -k
to the curl to make it download, but I think there is something bigger that I need to fix. The biggest issue is when trying to update Homebrew packages.
I also have this in my bash_profile
export CURL_CA_BUNDLE=/usr/local/share/ca-bundle.crt
and i just downloaded the ca-bundle.crt from http://curl.haxx.se/docs/caextract.html
EDIT: Also on a the guest user account on my laptop the curl works fine