curl: (77) error setting certificate verify locations

Linux/Cygwin 2013. 3. 13. 09:04 Posted by 생각하는로뎅
반응형

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

반응형

'Linux > Cygwin' 카테고리의 다른 글

Cygwin git install  (0) 2013.03.13
/usr/bin/env: python: No such file or directory  (0) 2013.03.13
Cygwin vi install  (0) 2013.03.13
Cygwin curl install  (0) 2013.03.13