Skip to content
This repository was archived by the owner on Nov 16, 2026. It is now read-only.

[fix] Use correct path for pulsar client TlsTrustCertsFilePath - #1604

Merged
BewareMyPower merged 1 commit into
streamnative:masterfrom
michaeljmarshall:fix-tls-trust-certs-file-path
Dec 5, 2022
Merged

BewareMyPower merged 1 commit into
streamnative:masterfrom
michaeljmarshall:fix-tls-trust-certs-file-path

Conversation

@michaeljmarshall

Copy link
Copy Markdown
Contributor

Motivation

This is a trivial fix. The getTlsCertificateFilePath is meant to be the tls certificate chain when sending to a peer, and the getTlsTrustCertsFilePath is meant to be the root CAs.

This PR could technically break installations. I'm unsure how we'd like to handle backwards compatibility here.

Note that this PR is the same as apache/pulsar#18712.

Modifications

  • Fix an incorrect reference to trusted certificates.

Verifying this change

This is a trivial change.

Documentation

  • no-need-doc

No docs are required, but a release note might be helpful for some users.

@github-actions github-actions Bot added the no-need-doc This pr does not need any document label Dec 2, 2022

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good catch

@codecov

codecov Bot commented Dec 2, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1604 (0be8ab8) into master (b4dbd6d) will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1604   +/-   ##
=========================================
  Coverage     15.34%   15.34%           
  Complexity      592      592           
=========================================
  Files           164      164           
  Lines         11913    11913           
  Branches       1102     1102           
=========================================
  Hits           1828     1828           
  Misses         9931     9931           
  Partials        154      154           
Impacted Files Coverage Δ
...tive/pulsar/handlers/kop/AbstractPulsarClient.java 30.95% <50.00%> (ø)

@BewareMyPower
BewareMyPower merged commit 4cd64d8 into streamnative:master Dec 5, 2022
@michaeljmarshall
michaeljmarshall deleted the fix-tls-trust-certs-file-path branch December 8, 2022 06:52
michaeljmarshall added a commit to michaeljmarshall/kop that referenced this pull request Dec 13, 2022
…mnative#1604)

### Motivation

This is a trivial fix. The `getTlsCertificateFilePath` is meant to be
the tls certificate chain when sending to a peer, and the
`getTlsTrustCertsFilePath` is meant to be the root CAs.

This PR could technically break installations. I'm unsure how we'd like
to handle backwards compatibility here.

Note that this PR is the same as
apache/pulsar#18712.

### Modifications

* Fix an incorrect reference to trusted certificates.

(cherry picked from commit 4cd64d8)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-need-doc This pr does not need any document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants