I can curl and wget google.com and other sites using https (not all of them though).
Github is one of them. The following commands don't work on my Ubuntu 14.04 machine:
This hangs indefinitely
/usr/local/bin/git ls-remote git://github.com/sstephenson/rbenv.git -h refs/heads/v0.4.0This results in: curl: (35) Unknown SSL protocol error in connection to github.com:443
curl https://github.comThis results in: Resolving github.com (github.com)... 192.30.252.130 Connecting to github.com (github.com)|192.30.252.130|:443... connected. Unable to establish SSL connection.
wget https://github.comopenssl shows no certificate (is that the best hint?)
openssl s_client -connect github.com:443 CONNECTED(00000003) write:errno=104 --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 0 bytes and written 305 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE ---
Why is Github a problem here? Is my system blocking SSL traffic? It is possible that a firewall rule is blocking traffic as well. If that's the case please point it out as I don't have the knowledge to determine whether this is the reason.
I can't git clone repos that are public and don't belong to my account (which I have SSH keys for) either. Can clone repos from my own Github account all I want though.
Here is an strace of the command (notice it hangs on the last line)
git://protocol, what happens if you use it oversshorhttps://? – Willem Van Onsem May 13 '15 at 23:47'https://github.com/sstephenson/rbenv.git/': Unknown SSL protocol error in connection to github.com:443– sargas May 13 '15 at 23:49