Skip to content

SSL verification error at depth 0: unable to get local issuer certificate (20) #2231

@elviserikvan

Description

@elviserikvan

I don't know anything about ruby and gems, the reason that installed it it's because it is necesary to install sass, but when i run this command

gem install sass

This shows up

ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
ERROR:  You must add /C=EN/CN=e9be946d3338ec7a 2 to your local trusted store
ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
ERROR:  You must add /C=EN/CN=e9be946d3338ec7a 2 to your local trusted store
ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
ERROR:  You must add /C=EN/CN=e9be946d3338ec7a 2 to your local trusted store
ERROR:  Could not find a valid gem 'sass' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate) (https://api.rubygems.org/specs.4.8.gz)
ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
ERROR:  You must add /C=EN/CN=e9be946d3338ec7a 2 to your local trusted store
ERROR:  SSL verification error at depth 0: unable to get local issuer certificate (20)
ERROR:  You must add /C=EN/CN=e9be946d3338ec7a 2 to your local trusted store

i have already tried this tutorial

http://guides.rubygems.org/ssl-certificate-update/#manual-solution-to-ssl-issue

but i didn't help, what's going on?

My environment settings are:

C:\> ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [i386-mingw32]

C:\> gem -v
2.7.3

Windows 7 32 bits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions