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

[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 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

1 participant