curlrc

curl関連で .curlrc を使って問題を解決させた。

  • Add -k on its own line (I didn’t have a .curlrc file, so the entire file is just -k with a newline, of course)
  • Run your brew install/upgrade and it should download from mirrors.edge.kernel.org or any other sites with SSL certificate issues

curl - Cannot install anything with brew, Error: Failed to download resource “git–html” - Stack Overflow

その他の設定

curlを便利に使う為の.curlrcの雛型 - Qiita

manpage

-K, --config <file>

Specify a text file to read curl arguments from. The command line arguments found in the text file will be used as if they were provided on the command line.

via. curl - How To Use