Skip to content
Snippets Groups Projects
Commit bad14834 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1285 from Blaisorblade/doctor-ssl-env

brew doctor: warn about SSL_CERT_FILE (#1284)
parents 8d6921d7 aa8242bb
No related branches found
No related tags found
No related merge requests found
......@@ -617,6 +617,18 @@ module Homebrew
message
end
def check_ssl_cert_file
return unless ENV.key?("SSL_CERT_FILE")
<<-EOS.undent
Setting SSL_CERT_FILE can break downloading files; if that happens
you should unset it before running Homebrew.
Homebrew uses the system curl which uses system certificates by
default. Setting SSL_CERT_FILE makes it use an outdated OpenSSL, which
does not support modern OpenSSL certificate stores.
EOS
end
def check_for_symlinked_cellar
return unless HOMEBREW_CELLAR.exist?
return unless HOMEBREW_CELLAR.symlink?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment