Skip to content

Instantly share code, notes, and snippets.

@entropiae
Last active February 3, 2022 23:32
Show Gist options
  • Save entropiae/a899d8a78dc8a38f505e to your computer and use it in GitHub Desktop.
Save entropiae/a899d8a78dc8a38f505e to your computer and use it in GitHub Desktop.
git: how to solve "SSLRead() return error -9806" in OSX using brew
$ brew remove git
$ brew remove curl
$ brew install openssl
$ brew install --with-openssl curl
$ brew install --with-brewed-curl --with-brewed-openssl git
@BirkhoffLee
Copy link

The Homebrew team has recently removed all install options for the cURL formula, which means you will not be able to do brew install curl --with-openssl now. Instead, do brew install curl-openssl. Make sure to uninstall the old one with brew uninstall curl first.

@rdwivedi
Copy link

brew install --with-curl --with-openssl git this did not work for me. I had to do plain vanilla brew install git. this worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment