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

how to use jks instead pem ? #216

Open
spham opened this issue Dec 2, 2021 · 5 comments
Open

how to use jks instead pem ? #216

spham opened this issue Dec 2, 2021 · 5 comments

Comments

@spham
Copy link

spham commented Dec 2, 2021

how to use
kafka.client.truststore.jks
instead of file in pem format ?

image

@spham spham changed the title how to use how to use jks instead pem ? Dec 2, 2021
@angelozerr
Copy link
Collaborator

I fear that's it's not possible. We provide common authentification. It's hard with an UI to manage all authentification kind.

@fbricon do you think we should provide jks?

@fbricon
Copy link
Collaborator

fbricon commented Jan 4, 2022

According to tulios/kafkajs#1127 (comment), kafkajs doesn't provide a way to use keystores directly, they should be converted to PEM files first. Maybe there's a way to use https://www.npmjs.com/package/jks-js to do that automagically

@karawitan
Copy link

As far as I know, client certificate/key is optional, only Certificate Authority is mandatory. Is it possible to handle this situation ? (only provide Certificate Authority, let client certificate/key empty)

@revskill10
Copy link

Is there any solution ?

@angelozerr
Copy link
Collaborator

I m a newbie with jks and I have no time to investigate some solution. Any contribution are welcome!

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

No branches or pull requests

5 participants