title: pecl install always failed "unable to connect to ssl://pecl.php.net:443 (Unknown error) in Proxy.php on line 183"
body: <pre><code>qiulangs-MacBook-Pro:extensions qiulang$ pecl -vvv install debug
  
  Warning: fsockopen(): SSL: Handshake timed out in Proxy.php on line 183
  
  Warning: fsockopen(): Failed to enable crypto in Proxy.php on line 183
  
  Warning: fsockopen(): unable to connect to ssl://pecl.php.net:443 (Unknown error) in Proxy.php on line 183
  No releases available for package "pecl.php.net/debug"
  Cannot initialize 'channel://pecl.php.net/debug', invalid or missing package file
  Package "channel://pecl.php.net/debug" is not valid
  install failed
  </code></pre>
  
  <p>I used brew to install php 7.2 and 7.3 and tried both pecl with them, but I got the same error.</p>
  
  <p>While my colleague can use pecl (also using brew install php@7.2) without any problem. So it must be something wrong with my setting. </p>
  
  <pre><code>qiulangs-MacBook-Pro:sbin qiulang$ php -r "print_r(openssl_get_cert_locations());"
  Array
  (
      [default_cert_file] =&gt; /usr/local/libressl-2.2/etc/ssl/cert.pem
      [default_cert_file_env] =&gt; SSL_CERT_FILE
      [default_cert_dir] =&gt; /usr/local/libressl-2.2/etc/ssl/certs
      [default_cert_dir_env] =&gt; SSL_CERT_DIR
      [default_private_dir] =&gt; /usr/local/libressl-2.2/etc/ssl/private
      [default_default_cert_area] =&gt; /usr/local/libressl-2.2/etc/ssl
      [ini_cafile] =&gt;
      [ini_capath] =&gt;
  )
  </code></pre>