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

Ruby 2.7.1 fails to verify the https://rubygems.org certificate #3435

Open
philr opened this issue May 17, 2020 · 1 comment
Open

Ruby 2.7.1 fails to verify the https://rubygems.org certificate #3435

philr opened this issue May 17, 2020 · 1 comment

Comments

@philr
Copy link

philr commented May 17, 2020

When running bundle update with the pre-installed x86 and x64 Ruby 2.7.1 builds in the Visual Studio 2019 image, I'm encountering the following error:

Could not verify the SSL certificate for
https://rubygems.org/quick/Marshal.4.8/minitest-5.11.3.gemspec.rz.
There is a chance you are experiencing a man-in-the-middle attack, but most
likely your system doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect
without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Command exited with code 17

See https://ci.appveyor.com/project/philr/tzinfo/builds/32931289/job/1thwl11o6qhdwkxw and https://ci.appveyor.com/project/philr/tzinfo/builds/32931289/job/cuys2ga8t3r1qinm.

I've installed the same Ruby versions locally and have not encountered any problems. The ssl\cert.pem file contained within the installation includes the /CN=GlobalSign/O=GlobalSign/OU=GlobalSign Root CA - R3 certificate required to verify https://rubygems.org.

@bastelfreak
Copy link

Hi,
I've the same issue on Ruby 2.7/2.5 :(

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

2 participants