简体   繁体   中英

can't access github via https after upgrade to Yosemite

I can't access GitHub via https after upgrade my Mac to Yosemite.

fatal: unable to access 'https://github.com/caskroom/homebrew-cask/': SSL: can't load CA certificate file

Actually,it's brew update,most of brew operations are via https when requesting github repo.

Using git version 2.1.2 (on Yosemite) I'm able to download the repo just fine:

git clone https://github.com/mitsuhiko/flask.git/
Cloning into 'flask'...
remote: Counting objects: 10113, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 10113 (delta 2), reused 5 (delta 1)
Receiving objects: 100% (10113/10113), 4.66 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (6112/6112), done.
Checking connectivity... done.

You can try switching to ssh:

 git clone git@github.com:mitsuhiko/flask.git

With https, you need to have your CAs (Certificate Authorities) in order ( as in this question ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM