Add TLS/SSL support for all external connections#27
Open
ecrist wants to merge 1 commit intoVadims06:masterfrom
Open
Add TLS/SSL support for all external connections#27ecrist wants to merge 1 commit intoVadims06:masterfrom
ecrist wants to merge 1 commit intoVadims06:masterfrom
Conversation
Adds configurable TLS support for MongoDB, Elasticsearch, Topolograph, and webhook connections. Controlled via TLS_ENABLED env var with support for CA certificates, client certificates (mTLS), and verification toggle. Certificate files are mounted from ./certs/ into containers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
| Hi, @ecrist, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TLS_ENABLEDenv var with support for CA certificates, client certificates (mTLS), and certificate verification toggle./certs/into containers;.gitignoreupdated to prevent accidental cert commitsTLS_ENABLED=False(default), all behavior is unchangedFiles changed
.env/.env.templateTLS_ENABLED,TLS_CA_CERT,TLS_CLIENT_CERT,TLS_CLIENT_KEY,TLS_VERIFY)docker-compose.yml./certs/volume into both Logstash containerslogstash/pipeline/logstash.conflogstash/index_template/create.pyrequestsclient.py.gitignorecerts/certs/.gitkeepHow to enable
TLS_ENABLED=Truein.envca.pem,client.pem,client-key.pemin./certs/client-combined.pem(cert + key concatenated)Test plan
TLS_ENABLED=Falsecerts/are gitignored🤖 Generated with Claude Code