You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Qlik Replicate software which internally uses librdkafka. When I tried connect to Kafka broker using the software I'm getting the error Failed to get Kafka metadata: Local: Broker transport failure. _TRANSPORT.
I have a truststore.jks and keystore.jks file, and I'm able to connect successfully to the broker using those through Java Spring Kafka clients.
The software Qlik replicate only accepts CA file, Public key and Private key with password. So I converted the JKS files I have to these formats using below commands but I keep getting the error Failed to get Kafka metadata: Local: Broker transport failure. _TRANSPORT.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I'm using Qlik Replicate software which internally uses librdkafka. When I tried connect to Kafka broker using the software I'm getting the error Failed to get Kafka metadata: Local: Broker transport failure. _TRANSPORT.
I have a truststore.jks and keystore.jks file, and I'm able to connect successfully to the broker using those through Java Spring Kafka clients.
The software Qlik replicate only accepts CA file, Public key and Private key with password. So I converted the JKS files I have to these formats using below commands but I keep getting the error Failed to get Kafka metadata: Local: Broker transport failure. _TRANSPORT.
JKS to PEM
keytool -importkeystore --srckeystore cert.jks -destkeystore cert.p12 -deststoretype PKCS12
openssl pkcs12 -in cert.p12 -out cert.pem -nodes
Create Public Key
openssl x509 -inform pem -in cert.pem -outform pem -out cert.crt
Create pem file with private keys and no cert
openssl pkcs12 -in cert.p12 -nocerts -nodes -out cert.pem
openssl rsa -in cert.pem -out cert.key
Can any one help providing the correct steps in converting the JKS files to the required PEM files. Any pointer would be helpful. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions