Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

[Kafka SSL] Custom truststore and keystore. #122

Open
mcvity opened this issue Oct 2, 2023 · 0 comments
Open

[Kafka SSL] Custom truststore and keystore. #122

mcvity opened this issue Oct 2, 2023 · 0 comments

Comments

@mcvity
Copy link

mcvity commented Oct 2, 2023

I have a network monitoring stack set up as follows:

SFLOW DATA -> GOFLOW -> KAFKA INSTANCE -> ETC

It's currently operational, but I need to enable SSL encryption on Kafka to ensure that I'm not transmitting sflow data in plaintext. Since I'm using my own CA for certificates, Goflow will need the truststore and keystore to connect. However, it seems that Goflow doesn't support this option.

Here are the consumer properties I'm using to connect to the Kafka instance with SSL enabled:

sasl.mechanism=PLAIN 
security.protocol=SASL_SSL
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="U" password="P";
ssl.endpoint.identification.algorithm=
ssl.truststore.type=PEM
ssl.truststore.location=/opt/truststore.pem
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant