Getting the Error 'curl: (35) LibreSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to raw.githubusercontent.com:443' in Mac Terminal when trying to install the HomeBrew. Using Mac OS - Venture 13.0.1 I am not using any VPN/Anti virus/proxy. Any help in resolving this error is appreciated.
si@MacBook-Pro ~ % /bin/bash -c "$(curl -v -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Trying 49.205.171.201:443...
- Connected to raw.githubusercontent.com (49.205.171.201) port 443 (#0)
- ALPN: offers h2
- ALPN: offers http/1.1
- CAfile: /etc/ssl/cert.pem
- CApath: none
- (304) (OUT), TLS handshake, Client hello (1): } [330 bytes data]
- LibreSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to raw.githubusercontent.com:443
- Closing connection 0 curl: (35) LibreSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to raw.githubusercontent.com:443
I tried curl command with --ciphers ECDHE-RSA-AES128-GCM-SHA256 and ALL by searching in some websites, but it didn't work.
These steps solved this problem for me
Manually configure hosts:
To modify the host's file on a macOS system:
You can refer to this link-to-solution!