You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to log in to the application, i.e. on redirection to /users/auth/checkin user is confronted with a generic 500 message. The direct cause being an exception reading SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired), such verification fails specifically for url https://aai.eosc-portal.eu/oidc/. (The commit dd10f62 introduces a mitigation.)
Force httpclient to use the default system cacert configuration.
Otherwise, when the cacerts bundled with httpclient expire we are
prone to get validation errors in different places (for example,
openid_connect gem depends on this, and we were left without login).
This patch has been copied from the gitlab PR:
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/30749/diffs.
Force httpclient to use the default system cacert configuration.
Otherwise, when the cacerts bundled with httpclient expire we are
prone to get validation errors in different places (for example,
openid_connect gem depends on this, and we were left without login).
This patch has been copied from the gitlab PR:
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/30749/diffs.
Force httpclient to use the default system cacert configuration.
Otherwise, when the cacerts bundled with httpclient expire we are
prone to get validation errors in different places (for example,
openid_connect gem depends on this, and we were left without login).
This patch has been copied from the gitlab PR:
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/30749/diffs.
Force httpclient to use the default system cacert configuration.
Otherwise, when the cacerts bundled with httpclient expire we are
prone to get validation errors in different places (for example,
openid_connect gem depends on this, and we were left without login).
This patch has been copied from the gitlab PR:
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/30749/diffs.
When trying to log in to the application, i.e. on redirection to
/users/auth/checkin
user is confronted with a generic 500 message. The direct cause being an exception readingSSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)
, such verification fails specifically for urlhttps://aai.eosc-portal.eu/oidc/
. (The commit dd10f62 introduces a mitigation.)The httpclient gem uses bundled cacerts, which are quite old (last updated 6 years ago: https://github.com/nahi/httpclient/blob/4658227/lib/httpclient/cacert.pem). As discussed in nahi/httpclient#444, nahi/httpclient#446 and nahi/httpclient#386.
Gitlab has a sensible patch in place for this, it may be worth a try, since it switches to using system certs.
The text was updated successfully, but these errors were encountered: