I am using OSX: 10.12.4
I was initially able to use git, homebrew and curl without any problems. I don’t remember what I did to cause this, but all of a sudden these SSL errors start appearing in my git commands.
I get errors when running any git command. Also, I get an error when trying to reinstall git with . unable to get local issuer certificatebrew install git
Relevant part of brew output :
Downloading https:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https:
I tried:
- Rebooting
- Moving the ~ / Library / Keychains folder to ~ / Desktop and rebooting
- Switch to https://www.kernel.org/pub/software/scm/git on safari and
view the certificate . In accordance with [these instructions] (cannot post more than two links, sorry), the "Always trust" site must be checked. I do not see this flag.
- I was going to try first aid on key binding, however this feature was removed in the latest Mac OS.
- I tried to look at many other similar questions, however, with many, it was difficult for me to understand or follow the instructions in the answers.
, , squid808 . : " CA git, ". , , , . , , , . , Mac.
, git config --global http.sslVerify false -k curl. , , SSL .
curl -L https://homebrew.bintray.com/bottles/libpng-1.6.29.sierra.bottle.tar.gz | bash -s stable ( brew, )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https:
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl verification of the certificate, use
the -k (or --insecure) option.
- , , , , , , git, , , SSL- . , , .
- , .
, . , . , , . .