Skip to content

Instantly share code, notes, and snippets.

@DavyLin
Created October 19, 2016 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavyLin/4b69234a34166e6d7dc35d6dcdb40e5b to your computer and use it in GitHub Desktop.
Save DavyLin/4b69234a34166e6d7dc35d6dcdb40e5b to your computer and use it in GitHub Desktop.
github throw error SSL certificate problem: Couldn't understand the server certificate format
> cd ~/.ssh
> sudo wget http://curl.haxx.se/ca/cacert.pem
> export CURL_CA_BUNDLE=~/.ssh/cacert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment