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

Pem cert support to connect to kafka clusters #511

Merged
merged 2 commits into from
Jan 31, 2023
Merged

Conversation

muralibasani
Copy link
Contributor

About this change - What it does

Currently klaw can connect to kafka clusters over ssl, with cert types for jks and pkcs12. With this minor change, it should be able to connect to kafka clusters with pem cert types too.

Resolves: #181
Why this way

With configuration enabled, it is now possible to connect to cluster with any certificate type

muralibasani added 2 commits January 30, 2023 17:31
Signed-off-by: muralibasani <[email protected]>
Signed-off-by: muralibasani <[email protected]>
@muralibasani muralibasani requested a review from a team as a code owner January 30, 2023 16:36
@muralibasani
Copy link
Contributor Author

muralibasani commented Jan 30, 2023

Ex config below :

dev1.kafkassl.keystore.type=PEM
dev1.kafkassl.keystore.certificate.chain=-----BEGIN CERTIFICATE-----
..
-----END CERTIFICATE-----
dev1.kafkassl.keystore.key=-----BEGIN PRIVATE KEY-----
..
-----END PRIVATE KEY-----

@muralibasani muralibasani added the Backend Backend tasks label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Backend tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: support PEM format for Kafka cluster SSL client certificates/key
2 participants