Certificate error installing jspm package from github (caused by incorrect certificate outline?)

While my development environment is working perfectly fine, my build server suffers from errors like the following ... although at some point all this works 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 CAfile different from the drive path ( C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt ), so I copied the ssl folder from mingw64\ to mingw64\libexec and it worked again.

Is this a suitable fix?

Here are some of the product versions that I launch:

 jspm - 0.16.13 npm - 3.3.10 node - 4.2.1 
+7
git jspm
source share
1 answer

I ran the following command in a command window (started as admin) and it launched me. Still not sure if this is the correct answer, but was better than copying the folder:

 git config --system http.sslcainfo "C:\Program Files\Git\usr\ssl\certs\ca-bundle.crt" 
+2
source share

All Articles