1. curl http://curl.haxx.se/ca/cacert.pem > .cacert.pem
2. vi .bash_profile
3. export SSL_CERT_FILE=/.cacert.pem 다운 받은 /.cacert.pem
4. 재접
Ran into the following error when using brew to install sshfs (which is another post full of pain) on OS X 10.7 Lion:
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
Turns out that the file was simply missing, and i just needed to pull down the latest version
curl http://curl.haxx.se/ca/cacert.pem > .cacert.pem
And set it in my .bash_profile:
export SSL_CERT_FILE=/Users/jcran/.cacert.pem