Failed to install SSL certificate while installing pod?

I get this error while I try to install a podfile that has crashlytics in it:

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 verification of the certificate, use
 the -k (or --insecure) option.

What causes this problem?

+4
source share
1 answer

Finally, resolving this in the project folder:

echo insecure >> ~/.curlrc
+18
source

Source: https://habr.com/ru/post/1607278/


All Articles