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

Unable to install bundler due to certificate error #421

Closed
wallymathieu opened this issue May 21, 2023 · 2 comments
Closed

Unable to install bundler due to certificate error #421

wallymathieu opened this issue May 21, 2023 · 2 comments

Comments

@wallymathieu
Copy link

docker image variants: 3, 3.2.2, 3.3-rc-buster

 > [14/15] RUN gem install bundler:
#0 0.648 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.648 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 0.818 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 0.818 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 1.093 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 1.093 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 1.093 ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
#0 1.093           Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 peeraddr=62.74.130.28:443 state=error: certificate verify failed (self signed certificate) (https://rubygems.org/specs.4.8.gz)
#0 1.300 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 1.300 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
#0 1.542 ERROR:  SSL verification error at depth 0: self signed certificate (18)
#0 1.542 ERROR:  Certificate /C=US/ST=USA/L=New York/O=Optimization/OU=Optimization/CN=tomcat is not trusted
------
failed to solve: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 2
@wallymathieu
Copy link
Author

Seems like this is due to Vodafone Secure Net blocking rubygems.

@wallymathieu
Copy link
Author

wallymathieu commented May 22, 2023

I'm closing this issue due to it being a problem with RubyGems and ISP erronously blocking RubyGems
rubygems/rubygems.org#3822

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

1 participant