title: OpenSSL errno 10054,connection refused, whilst trying to connect to our server
body: <p>We are running a git server over https and didn't have any trouble connecting because we all used visual studio to do so. Now someone wants to use the standard git bash and it fails to connect with the following error output.</p>
  
  <pre><code>fatal: unable to access 'https://server/Repo.git/': Unknown SSL protocol error in connection to server:443
  </code></pre>
  
  <p>I tried some different ciphersuites, nothing worked. Then it came to me that it might be that git doesn't support ECDSA certificates yet. So I exchanged the ECDSA certificate for one with RSA. That also didn't work.</p>
  
  <p>Then I tried connecting with OpenSSL s_client with the following command:</p>
  
  <pre><code>OpenSSL&gt; s_client -connect server:443
  </code></pre>
  
  <p>This is the output from running the command:</p>
  
  <pre><code>CONNECTED(0000018C)
  write:errno=10054
  ---
  no peer certificate available
  ---
  No client certificate CA names sent
  ---
  SSL handshake has read 0 bytes and written 307 bytes
  ---
  New, (NONE), Cipher is (NONE)
  Secure Renegotiation IS NOT supported
  Compression: NONE
  Expansion: NONE
  ---
  </code></pre>
  
  <p>I searched google for the error number <code>10054</code> and found it means connection refused. We use IIS 8.5 to supply the https endpoint for the git server. I can connect to the web environment through all webbrowsers and we can use the git server through the visual studio git interface. So I don't think it's a firewall issue. 
  I'd like to know if anyone has experienced this problem before and if they could help us out here?</p>