getting curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number every time I run brew
This is an issue with their CDN.
See here: https://github.com/Homebrew/brew/issues/10739
A workaround would be adding this to your hosts file:
54.188.157.32 homebrew.bintray.com
If you do not have permissions to modify your hosts
file, you can also try this workaround:
~> HOMEBREW_BOTTLE_DOMAIN=https://dl.bintray.com/homebrew brew upgrade
to run the brew upgrade
command while setting the HOMEBREW_BOTTLE_DOMAIN
environment variable temporarily. It has solved my problem when upgrading my Brew packages.