Skip to content

Instantly share code, notes, and snippets.

@htom78
Created May 15, 2012 02:31
Show Gist options
  • Save htom78/2698651 to your computer and use it in GitHub Desktop.
Save htom78/2698651 to your computer and use it in GitHub Desktop.
curl cert的解决方案
#to download the cert
wget http://curl.haxx.se/ca/cacert.pem
#to let curl use it for the next calls
export CURL_CA_BUNDLE=~/cacert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment