How to fix curl: (35) SSL certificate problem: Couldn't understand the server certificate format?
Open chromedriver_mac64.zip in your browser. If you see this message:

&lt;Error&gt;
  &lt;Code&gt;AccessDenied&lt;/Code&gt;
  &lt;Message&gt;Access denied.&lt;/Message&gt;
  &lt;Details&gt;
    We're sorry, but this service is not available in your location
  &lt;/Details&gt;
&lt;/Error&gt;


Then Google is restricting your access. Simply download that file with an alternative network/IP/location. Then move the file to ~/Library/Caches/Homebrew/ or /Library/Caches/Homebrew/ due to the installation of Homebrew. Then try to reinstall. Homebrew will use downloaded file.

Alternatively you can use a network proxy in the terminal while running brew command.