What it is this SSL error when I'm installing a gem?

Alex Tyshka's Avatar

Alex Tyshka

05 May, 2017 02:50 PM

I'd been experiencing some SSL errors with a cocoapods installation, so I updated Rubygems manually (which was supposed to fix SSL errors). However, I now have a new error regarding a GlobalSign certificate. Can someone please explain what that is and how I can fix it?

Alexs-MBP:~ alextyshka$ sudo gem install cocoapods
Password:
ERROR:  SSL verification error at depth 2: certificate has expired (10)
ERROR:  Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z
ERROR:  SSL verification error at depth 2: certificate has expired (10)
ERROR:  Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z
ERROR:  SSL verification error at depth 2: certificate has expired (10)
ERROR:  Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z
ERROR:  Could not find a valid gem 'cocoapods' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
ERROR:  SSL verification error at depth 2: certificate has expired (10)
ERROR:  Certificate /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA expired at 2014-01-28T12:00:00Z
  1. Support Staff 1 Posted by Aditya Prakash on 22 May, 2017 01:25 PM

    Aditya Prakash's Avatar

    Hi Alex,

    Sorry for delay in reply here. Are you still having the issue?
    Please checkout suggestions made on these discussions:
    http://help.rubygems.org/discussions/problems/22983-ssl-server-cert...
    http://help.rubygems.org/discussions/problems/24036-ssl-vierify-failed

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac