title: cURL error in various homebrew installations
body: <p>I'm using my (quite old) Macbook with macOS 10.10. I have been struggling to install the following programs using homebrew: ffmpeg, cairo, and sox. Whenever I run <code>brew install ffmpeg</code> it al runs well until eventually, I run into the following error:</p>
  <pre><code>==&gt; Downloading https://download.gnome.org/sources/glib/2.64/glib-2.64.3.tar.xz
  
  curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
  Error: Failed to download resource &quot;glib&quot;
  Download failed: https://download.gnome.org/sources/glib/2.64/glib-2.64.3.tar.xz
  </code></pre>
  <p>As far as I know, there is an issue with the version of cURL being used, which does not support OpenSSL, and SecureTransport is getting in the way. I saw this when running:</p>
  <pre><code>curl 7.43.0 (x86_64-apple-darwin14.0) libcurl/7.43.0 SecureTransport zlib/1.2.5
  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
  Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets
  </code></pre>
  <p>It seems that the cURL that is being used is the one built in with the OS, I tried switching to the homebrew one by editing my <code>$PATH</code> in my <code>.bash_profile</code>, and ran the following, finding SecureTransport again:</p>
  <pre><code>$ which curl
  /usr/local/opt/curl/bin/curl
  $ curl -V
  curl 7.71.1 (x86_64-apple-darwin14.5.0) libcurl/7.71.1 SecureTransport zlib/1.2.5
  Release-Date: 2020-07-01
  </code></pre>
  <p>but this was no help. I also tried <code>brew upgrade</code>,<code>brew uninstall curl</code> and then <code>brew install curl-openssl</code> but this homebrew installation also runs into the same curl(35) error.</p>
  <p>How can I disable SecureTransport?
  Is there any other possible fix?
  Is it necessary for me to update my macOS to a more recent version?</p>