-
Notifications
You must be signed in to change notification settings - Fork 3
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
UI unable to verify SSL certificate when connecting to backend after Let's Encrypt TDS Root CA X3 cert expired #176
Comments
a similar problem exists in ncbo_cron when ontology is pulled from a domain which uses letsencrypt TLS cert. |
related to nahi/httpclient#445 |
a temporary fix for the API/ncbo_cron systems is done with overwriting/symlinking cacert.pem file in httpdclient gem with the system ca cert |
I looked at where the httpclient transitive dependency is coming from in our stack. The ontologies_api project uses an old version of the google-api-client gem (0.10.3 from March of 2017). Upgrading to the latest google-api-client won't help - it still depends on the same version of httpclient, which doesn't appear to be maintained anymore. The same dependency structure exists in the ncbo_cron project. |
then we should switch to the modern google ruby client https://github.com/googleapis/google-cloud-ruby |
…from-fairness-details-popup Feature: Migrate the fair score details popup from Jquery Facebox to Turbo modal
The issue is resolved. |
Seeing the following errors in the UI logs in prod/stage:
Let's Encrypt TDS Root CA X3 cert expired on the same date which is why app started to fail.
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
UI servers run on CentOS 7 and ca-certificates package is 2021.2.50-72 which includes updated root cert for letsencrypt which means that application is not using OS root ca but an outdated bundled-in cert somewhere.
a work around on CentOS 7 is to add
ENV['SSL_CERT_FILE'] = '/etc/pki/tls/cert.pem'
toconfig/bioportal_config_<env>.rb
However, this is not an ideal solution.
The text was updated successfully, but these errors were encountered: