Last active
February 3, 2022 23:32
-
-
Save entropiae/a899d8a78dc8a38f505e to your computer and use it in GitHub Desktop.
git: how to solve "SSLRead() return error -9806" in OSX using brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew remove git | |
$ brew remove curl | |
$ brew install openssl | |
$ brew install --with-openssl curl | |
$ brew install --with-brewed-curl --with-brewed-openssl git |
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
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, dobrew install curl-openssl
. Make sure to uninstall the old one withbrew uninstall curl
first.