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

[WIP] SSL integration for Kafka and MongoDB #14

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SujithaKunda
Copy link
Collaborator

  • Kafka SSL integration
  • MongoDB SSL Integration

@SujithaKunda SujithaKunda changed the title SSL integration for Kafka and MongoDB [WIP] SSL integration for Kafka and MongoDB Oct 21, 2024
Copy link

KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: SSL:SSL,PLAINTEXT:PLAINTEXT
KAFKA_LISTENERS: SSL://0.0.0.0:9092,PLAINTEXT://0.0.0.0:9093
KAFKA_SSL_KEYSTORE_LOCATION: /etc/kafka/secrets/kafka.server.keystore.jks
KAFKA_SSL_TRUSTSTORE_LOCATION: /etc/kafka/secrets/kafka.server.keystore.jks
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Steps for creating a cert

@SVAdithya
Copy link
Owner

local test Screenshots:

spring.data.mongodb.uri=mongodb://root:example@localhost:27017/testMongoDb?authSource=admin
mask.headers.list=pwd,pass
management.endpoints.web.exposure.include = *
spring.kafka.consumer.ssl.trust-store-location=classpath:client.keystore.jks
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

steps for creating a client cert

@SVAdithya SVAdithya force-pushed the feature/ssl_integration branch from b71f227 to 2795639 Compare October 25, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants