vscode-kafka icon indicating copy to clipboard operation
vscode-kafka copied to clipboard

how to use jks instead pem ?

Open spham opened this issue 3 years ago • 5 comments

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

image

spham avatar Dec 02 '21 20:12 spham

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?

angelozerr avatar Dec 03 '21 08:12 angelozerr

According to https://github.com/tulios/kafkajs/issues/1127#issuecomment-867554450, 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

fbricon avatar Jan 04 '22 10:01 fbricon

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)

karawitan avatar Nov 25 '22 16:11 karawitan

Is there any solution ?

revskill10 avatar Apr 23 '23 15:04 revskill10

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

angelozerr avatar Apr 23 '23 16:04 angelozerr