jlandersen / vscode-kafka

Apache Kafka® extension for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use jks instead pem ?

spham opened this issue · comments

commented

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

image

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?

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

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)

Is there any solution ?

commented

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