Whilst my development environment works absolutely fine my build server is suffering with errors such as the following... although at some point it was all working fine too!
warn Error on lookup for github:aurelia/event-aggregator
Error: fatal: unable to access 'aurelia/event-aggregator.git/': error setting certificate verify locations:
CAfile: C:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
CApath: none
err Error looking up github:aurelia/event-aggregator.
I noticed that the CAfile
path was different to the one on disk (C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt
) so copied the ssl folder from mingw64\
into mingw64\libexec
and everything started working again.
Is this an appropriate fix?
Here are some of the versions of products I'm running:
jspm - 0.16.13
npm - 3.3.10
node - 4.2.1
I executed the following command in a command window (run as admin), and it got me up and running. Still not sure this is the right answer, but it felt better than copying the folder:
git config --system http.sslcainfo "C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With