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 |
Me too, bit bucket SSH still down =/
https://status.bitbucket.org
The following warnings appear:
Warning: git: --with-brewed-openssl was deprecated; using --with-openssl instead!
Warning: git: --with-brewed-curl was deprecated; using --with-curl instead!
So you should use brew install --with-curl --with-openssl git
in the last step instead
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.
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
maybe your git cloud provider is unavailable. (I got this error today, Bitbucket was down)