Written by Guillermo Garron .
Date: 2014-08-17 15:05:00 -0400
Problem updating brew on Mac
After trying to update brew on my Mac today I have run into this error:
ggarron$ brew update error: SSL certificate problem: Invalid certificate chain while accessing https://github.com/Homebrew/homebrew.git/info/refs?service=git-upload-pack fatal: HTTP request failed Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
After doing some research I have found that the problem was an Expired Certificate from DigiCert
The way to solve the problem is explained here
After removing all expired certificates I got this ones.
In case you are missing one of them, you can download from this webpage: DigiCert Certificates.
Just choose one of them, copy the url by righ-clicking on the Download link and selecting Copy link location, then go to your terminal and download it.
curl -O [the link goes here]
You then have to double click on the file using finder, it will ask for our password and the certificate will be installed.
You should now be able to run:
If you enjoyed the article, please share it