Skip to content

Delegate default CA selection to HTTPClient - #165

Merged
yyuu merged 1 commit into
masterfrom
remove-td-client-ca-bundle
Oct 26, 2026
Merged

yyuu merged 1 commit into
masterfrom
remove-td-client-ca-bundle

Conversation

@yyuu

@yyuu yyuu commented Oct 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove td-client's bundled CA certificates and delegate default CA selection to HTTPClient.
  • Apply the existing :verify and API#ssl_ca_file= settings to both regular API and bulk load requests. Recreate the bulk load client when its CA file changes.
  • Document the trust configuration change in the README and ChangeLog, and add SSL coverage for bulk load requests.

Compatibility

The trusted issuers for regular API requests can change. Users with custom endpoints or TLS inspection proxies should review their trust configuration. Explicit CA files remain supported.

The gem version is unchanged; the release version is left to the maintainers. This delegates CA management upstream and does not itself implement the pending HTTPClient mitigation in nahi/httpclient#481.

Verification

  • Full RSpec suite on Ruby 3.4.11 with released HTTPClient 2.9.0: 287 examples, 0 failures. Generated local certificate fixtures required by the existing SSL specs.
  • Reviewed the local td and fluent-plugin-td client initialization paths; neither references the bundled CA file. td currently requires td-client < 3; fluent-plugin-td requires td-client >= 1.0.8.
  • git diff --check passed.

@yyuu
yyuu marked this pull request as ready for review October 23, 2026 10:24
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 79.883% — remove-td-client-ca-bundle into master. No base build found for master.

@teemu-tt teemu-tt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yyuu
yyuu merged commit 7301b73 into master Oct 26, 2026
11 checks passed
@yyuu
yyuu deleted the remove-td-client-ca-bundle branch October 26, 2026 02:24
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.

3 participants