Skip to content

Instantly share code, notes, and snippets.

@ypresto
Created May 31, 2020 18:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ypresto/d6148ec94345cd7b869a3c70f66911f5 to your computer and use it in GitHub Desktop.
Save ypresto/d6148ec94345cd7b869a3c70f66911f5 to your computer and use it in GitHub Desktop.
Fix "SSL certificate problem: certificate has expired" issue in homebrew
# Add this snippet to your .zshrc, .bashrc or etc.
# https://security.stackexchange.com/a/232446/235706
export CURL_SSL_BACKEND=secure-transport
# https://github.com/Homebrew/brew/issues/6274#issuecomment-507937736
export HOMEBREW_NO_ENV_FILTERING=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment