3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WgetやCurlでGitHubのSSLが怒られた時

Posted at

msysにzshいれて、いつもどおりCurlでGitHubからOh-my-zshのインストールシェル実行しようとしたら、証明書エラーとかいわれてできなかった

登録されている確認してみたら認証局の情報が空

# cat /usr/ssl/certs/ca-bundle.crt


しかたがないので、認証局の証明書をもってきて追加しておく

# wget https://www.digicert.com/testroot/DigiCertHighAssuranceEVRootCA.crt --no-check-certificate
# cat DigiCertHighAssuranceEVRootCA.crt >> /usr/ssl/certs/ca-bundle.crt

たぶん、GitHubに限らず証明書系のエラーがでるときは使える

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?