Reputation: 8108
I get this error while I try to install a podfile which has crashlytics in it as well:
Installing Crashlytics (3.3.1)
[!] Error installing Crashlytics
[!] /Applications/XAMPP/xamppfiles/bin/curl -f -L -o /var/folders/1d/2xlstwrn5qd_jf64zznfb2nc0000gn/T/d20150914-12348-1fayiwa/file.zip https://kit-downloads.fabric.io/ios/com.twitter.crashlytics.ios/3.3.1/com.twitter.crashlytics.ios-default.zip --create-dirs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
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's verification of the certificate, use
the -k (or --insecure) option.
What is causing this problem?
Upvotes: 3
Views: 4901
Reputation: 8108
Finally solved it with this on Project Folder:
echo insecure >> ~/.curlrc
Upvotes: 31