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

The kafka source and sink incorrectly document support for non-PEM certificates #22046

Open
jszwedko opened this issue Dec 17, 2024 · 0 comments
Labels
domain: external docs Anything related to Vector's external, public documentation source: kafka Anything `kafka` source related type: bug A code related bug.

Comments

@jszwedko
Copy link
Member

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

The doc for tls.crt_file for Kafka components states:

The certificate must be in DER, PEM (X.509), or PKCS#12 format. Additionally, the certificate can be provided as an inline string in PEM format.

However, librdkafka actually only supports PEM format: https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md. Passing a non-PEM certificate gives you an error like:

Could not create Kafka consumer: Client creation error: ssl.certificate.location failed: error:0A080009:SSL routines::PEM lib

Configuration

No response

Version

vector v0.43.1

Debug Output

No response

Example Data

No response

Additional Context

No response

References

No response

@jszwedko jszwedko added type: bug A code related bug. source: kafka Anything `kafka` source related domain: external docs Anything related to Vector's external, public documentation labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: external docs Anything related to Vector's external, public documentation source: kafka Anything `kafka` source related type: bug A code related bug.
Projects
None yet
Development

No branches or pull requests

1 participant