title: Yum install mod_passenger fails with [Errno 14] curl#35 - "TCP connection reset by peer"
body: <p>I am trying to follow the Phusion Passenger <a href="https://www.phusionpassenger.com/library/install/apache/install/oss/el7/" rel="nofollow noreferrer">installation instructions for CentOS/RHEL 7</a>. I am encountering a problem with the HTTPS connection to the Passenger repo.</p>
  
  <p>I was able to solve it for the <code>curl</code> request to get the repository definition by adding <code>--tlsv1</code> to the request to force TLSv1. However, I haven't been able to do the same for <code>yum</code>, as it is still failing with the following message:</p>
  
  <pre><code>failure: repodata/repomd.xml from passenger: [Errno 256] No more mirrors to try.
  https://oss-binaries.phusionpassenger.com/yum/passenger/el/7/x86_64/repodata/repomd.xml:
  [Errno 14] curl#35 - "TCP connection reset by peer"
  </code></pre>
  
  <p>I have tried adding a <code>.curlrc</code> file with <code>tlsv1</code>, but <code>yum</code> doesn't appear to read that file, and continues to fail with the same error.</p>
  
  <ol>
  <li>Is it possible to configure <code>yum</code> to always use TLSv1?</li>
  <li>Are there public URLs for the RPM packages that I could download and install using <code>curl</code> and <code>rpm</code>, and bypass <code>yum</code> altogether?</li>
  <li>Phusion Passenger devs, is there something on your repository server that could be changed to allow <code>yum</code> to connect? I am on CentOS 7.0.1406 with <code>yum</code> 3.4.3.</li>
  </ol>
  
  <p><strong>Updated:</strong> <code>curl -V</code> returns:</p>
  
  <pre><code>curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
  Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets
  </code></pre>