MacにHomebrewのインストールを試みているのですが、以下のようなエラーが出てインストールできません。
Homebrewのインストールに前に必要とされている「Command Line Tools for Xcode」はインストール済みです。
ネットで検索しても解決策が見当たらずご教授いただきたく投稿させてもらいました。
よろしくお願いします。
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
macOS と Xcode のバージョンを教えてください。
ありがとうございます。各バージョンは以下の通りです。
Mac OS Mojave 10.14.4
Xcode Version 11.3.1 (11C504)
ここに書いてあるコマンドをそのまま実行してますよね?
https://brew.sh/index_ja
うーん、which curl の結果を教えてもらえますか?
そうなんです。
「/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"」
を入力しても記載したエラー内容になってしまいます。
初心者なものですみません・・。which curlとはなんでしょうか?
curl コマンドがどこにあるものかを調べるためです。
https://webkaru.net/linux/which-command/
ターミナルで which curl を実行して、出てきた結果を教えてください。
また、curl --version の結果も。
ありがとうございます。
which curは以下の通りです。
/Users/自分のユーザー名/anaconda3/bin/curl
curl --versionは以下の通りです。
curl 7.65.2 (x86_64-apple-darwin13.4.0) libcurl/7.65.2 OpenSSL/1.1.1c zlib/1.2.11 libssh2/1.8.2
Release-Date: 2019-07-17
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTPS-proxy IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
なるほど。anaconda3 で入れた curl が悪さをしている可能性がありますね。
curl https://raw.githubusercontent.com
と
/usr/bin/curl https://raw.githubusercontent.com
の結果を教えてもらってもいいですか?
ありがとうございます。
そういえば以前にanacondaを入れました!
curl https://raw.githubusercontent.comの結果
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
(base) orenoiMac:~ frame_harada$
/usr/bin/curl https://raw.githubusercontent.comの結果
何も起きず表示されませんでした。
回答1件
あなたの回答
tips
プレビュー