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

[#2328] Make httpclient use system certs #2329

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Conversation

jswk
Copy link
Contributor

@jswk jswk commented Oct 4, 2021

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.

@wziajka: please verify using system certs is safe in this case.

Fixes: #2328.

@jswk jswk self-assigned this Oct 4, 2021
@jswk jswk added this to the 3.23.0 milestone Oct 4, 2021
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.
@jswk jswk merged commit d70a03c into master Oct 12, 2021
@jswk jswk deleted the 2328-httpclient-cacerts branch October 12, 2021 07:43
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

Successfully merging this pull request may close these issues.

openid_connect fails on cert validation during login
3 participants