Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod install: SSL: certificate verification failed #1682

Closed
maniacs-engineerica opened this issue Oct 19, 2016 · 8 comments
Closed

Pod install: SSL: certificate verification failed #1682

maniacs-engineerica opened this issue Oct 19, 2016 · 8 comments

Comments

@maniacs-engineerica
Copy link

I can't install the library via CocoaPods, I am getting:

[!] /usr/bin/git clone https://github.com/danielgindi/Charts.git /var/folders/sr/4rckxqy11nl6n2jmt_00f3vr0000gn/T/d20161019-2029-d3k0of --single-branch --depth 1 --branch v2.3.0

Cloning into '/var/folders/sr/4rckxqy11nl6n2jmt_00f3vr0000gn/T/d20161019-2029-d3k0of'...
fatal: unable to access 'https://github.com/danielgindi/Charts.git/': SSL: certificate verification failed (result: 5)

What happen?
Thanks.

@pmairoldi
Copy link
Collaborator

I would suggest using cocoapods 1.1 and see if it still happens. There was issue filed for cocoapods here. This is not an issue with the library.

@RankoR
Copy link

RankoR commented Jan 10, 2017

Same for me in CocoaPods desktop app:

[!] Error installing YandexMobileMetrica
[!] /usr/bin/curl -f -L -o /var/folders/k6/vzwjw_xj28qdtsw9b6qk8vjw0000gn/T/d20170110-7601-1vi7avo/file.zip https://storage.mds.yandex.net/get-appmetrica-mobile-sdk/48248/YandexMobileMetrica-2.7.0-ios-7058b11a-d987-4519-8c64-028c75b67eab.zip --create-dirs --netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (51) SSL: certificate verification failed (result: 5)

That happens for one pod only, others are OK. BTW, if I execute this curl command manually, it downloads the file without errors.
I'm using version 1.1.1.

@binovsky
Copy link

binovsky commented Apr 7, 2017

Is there any solution for this?

@aelam
Copy link
Contributor

aelam commented Apr 7, 2017

I think it's about network, nothing wrong with CocoaPods or git
try with VPN
or try my mirror http://git.oschina.net/lunwang/Charts

@pmairoldi
Copy link
Collaborator

I would get help from cocoapods if anything. This is not an issue with this library

@liuxuan30
Copy link
Member

check your proxy, VPN, that's usually where the cert messed up. If you are clean, then use another version of pod.. Or use some switch to turn off the check.

@binovsky
Copy link

This issue is definitely CocoaPods app related only, if you install CocoaPods with homebrew error won't occur.

@tizzyapunkt
Copy link

I can confirm what @binovsky said. Using the pod CLI installed via Homebrew does not throw the SSL error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants