tag:help.rubygems.org,2010-01-19:/discussions/problems/26211-what-it-is-this-ssl-error-when-im-installing-a-gemRubyGems.org: Discussion 2017-05-22T13:25:50Ztag:help.rubygems.org,2010-01-19:Comment/425025372017-05-05T14:50:55Z2017-05-05T14:50:58ZWhat it is this SSL error when I'm installing a gem?<div><p>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?<br></p>
<pre>
<code>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</code>
</pre></div>Alex Tyshkatag:help.rubygems.org,2010-01-19:Comment/425025372017-05-22T13:25:49Z2017-05-22T13:25:49ZWhat it is this SSL error when I'm installing a gem?<div><p>Hi Alex,</p>
<p>Sorry for delay in reply here. Are you still having the issue?<br>
Please checkout suggestions made on these discussions:<br>
<a href="http://help.rubygems.org/discussions/problems/22983-ssl-server-certificate-verify-failed#comment_41050585">http://help.rubygems.org/discussions/problems/22983-ssl-server-cert...</a><br>
<a href="http://help.rubygems.org/discussions/problems/24036-ssl-vierify-failed">http://help.rubygems.org/discussions/problems/24036-ssl-vierify-failed</a></p></div>sonalkr132