Linux/Cygwin

curl: (77) error setting certificate verify locations

생각하는로뎅 2013. 3. 13. 09:04
반응형

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

반응형