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

ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) #554

Open
3 tasks
sknilose opened this issue Jan 13, 2021 · 2 comments
Open
3 tasks
Assignees

Comments

@sknilose
Copy link

I'm having a problem or would like to suggest a feature.

I was getting ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) while installing rails. Tried instructions provided here but didn't help:
https://bundler.io/v1.16/guides/rubygems_tls_ssl_troubleshooting_guide.html#what-are-these-certificates

Later I came to know that some security systems (like ZScaler) are also causing this so turning those off helped.

May be we can add this to the guide for the folks who are having similar challenge.

This issue is related to:

  • [ X] Network problems
  • [ X] Installing a library
  • Publishing a library
  • The command line gem
  • Other

Here are my current environment details:

$ gem env version
3.2.5

I will abide by the code of conduct.

@sonalkr132
Copy link
Member

bundler-site repo https://github.com/rubygems/bundler-site would be a more appropriate place for this issue. You are also welcome to update the doc and send PR to the repo directly.

@deivid-rodriguez deivid-rodriguez transferred this issue from rubygems/rubygems Jan 15, 2021
@tnir
Copy link
Collaborator

tnir commented Sep 13, 2022

@sknilose Could you try the following to clarify your circumstance?

$ curl -sL https://git.io/vQhWq | ruby

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

No branches or pull requests

3 participants