Wednesday, September 19, 2012

brew update problem - certificate issue

Typed "brew update" and got error with the certificate in git. Use this method, just copy paste (worked for me!). It is from here


wget --no-check-certificate https://www.digicert.com/testroot/DigiCertHighAssuranceEVRootCA.crt
cat /usr/share/curl/curl-ca-bundle.crt DigiCertHighAssuranceEVRootCA.crt > new-ca-bundle.crt
sudo mv /usr/share/curl/curl-ca-bundle.crt /usr/share/curl/curl-ca-bundle.crt.old
sudo mv new-ca-bundle.crt /usr/share/curl/curl-ca-bundle.crt

No comments: