-
Notifications
You must be signed in to change notification settings - Fork 27
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
bundle install / gem install affected by DST Root CA X3 expiration #77
Comments
@sachingade20 do you have |
Yes with OpenSSL version 1.1.1d and ca-certificates i already have X1 in my trust store still it fails, it work for ruby docker images but only fails jruby docker images, something related to jruby-openssl but not sure, |
Experiencing a similar issue. Getting bundle install failures for some gem hosts that are effected due to the expired root cert. I think rebuilding this image will solve the problem since it was built before the expiry happened. |
It come from here and the intermediate CA Adding new jruby-ssl version
This snippet works works require 'openssl'
puts JOpenSSL::VERSION if defined? JRUBY_VERSION
require 'net/http'
puts Net::HTTP.get_response(URI('https://helloworld.letsencrypt.org')) I think next version of Jruby will fix this as as jruby-openssl is a dependency. |
I think this is fixed in more recent images since we have updated jruby-openssl. Could someone confirm this? |
I tested using the JDK11 Dockerfile and received the following (using same test as above):
I tried the same on my M1 Macbook using 9.3.4.0 installed via rvm and got the same result:
|
We are getting the below issue when doing bundle install with jruby today since the root CA is expired.
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
https://community.letsencrypt.org/t/help-thread-for-dst-root-ca-x3-expiration-september-2021/149190
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'.
So basically it doesn't trust the first cert it finds in the chain even tho it is in the keystore.
DST Root CA X3 is not there, just like in the OS store.
If we add it to the key store, we are getting the below error.
I have tested against latest jruby docker image as well still the same
Can you Please help how to resolve this?
The text was updated successfully, but these errors were encountered: