Encrypting OpenCTI traffic to Elasticsearch, Redis, RabbitMQ and S3: when teams need it
A self-hosted OpenCTI platform holds sensitive threat intelligence, and that data moves across several network hops: from the platform and its Python workers to Elasticsearch or OpenSearch, to Redis, to RabbitMQ and to S3-compatible storage such as MinIO. Turning on encryption is a configuration task for each dependency, not a single switch, so each hop needs its own decision, certificate and verification. The deployment overview lists the versions the platform expects: Elasticsearch 8.0 or OpenSearch 2.9 or later, Redis 7.1 or later, RabbitMQ 3.11 or later, and S3-compatible storage. Confirm those minimums against the release you plan to run before you map the hops, because the TLS options differ between these products and between their versions.
Every hop matters because each one carries different data in transit. Elasticsearch and OpenSearch hold the indexed knowledge graph, so anyone who can read traffic to them can read indicators, reports and relationships. RabbitMQ carries the messages that workers consume for asynchronous writes, so its traffic reflects what is being ingested and changed. Redis and S3 hold cached and file content, including uploaded reports and extracted files that may carry marking-level sensitivity. Teams should first decide whether each link crosses a network boundary they do not fully control, such as a shared VLAN, a cloud subnet or a path between data centers. Links that stay on one host or one tightly controlled segment still need a documented decision, and the reviewers who assess the deployment will ask for it.
Before you change settings, inventory every connection OpenCTI opens, including connectors and workers that talk to the same brokers and stores. Ask your platform team which TLS versions and cipher policies your organization requires, and whether an internal certificate authority issues the server certificates. Then confirm with the vendor documentation for each product how it expects client certificates, certificate verification and hostname checks to be configured. Plan for certificate renewal from the start, since expired certificates are a common cause of outages after encryption is enabled. The sibling sections cover the configuration for each dependency and the internal CA handling, so use this step to decide scope and owners.
Which TLS settings apply to each dependency
This table compares the TLS and certificate options to confirm for each OpenCTI dependency, how each one verifies certificates, and when each option fits. Read each row before enabling encryption, then check the exact configuration keys against the OpenCTI version you run and each vendor's documentation.
| Dependency | TLS or certificate options to confirm | Certificate verification behavior | When the option fits |
|---|---|---|---|
| Elasticsearch or OpenSearch | HTTPS on the cluster HTTP layer and transport TLS between nodes, with the CA bundle that OpenCTI's client must trust | Client checks the server certificate chain and host name against the configured CA; a self-signed or private CA must be supplied explicitly | Clusters that hold intelligence data across hosts, where the platform and search nodes sit on separate networks |
| Redis | TLS listener on the Redis port, client certificate options if the server requires them, and the CA file OpenCTI uses to connect | Client validates the server certificate against the trusted CA; disabling verification removes protection against impersonation | Deployments where Redis runs on another host or in a shared cluster network; confirm whether your Redis build and client support TLS before planning |
| RabbitMQ | TLS listener for AMQP, CA certificate and client certificate settings on the broker, and matching TLS settings in the OpenCTI connection URL or configuration | Client verifies the broker certificate and host name; peer verification settings on both sides must agree | Brokers reached across a network boundary or shared with other workloads, since queued messages carry intelligence content |
| S3-compatible storage (for example MinIO) | HTTPS endpoint, custom CA bundle for the object store, and any option to disable certificate checks for test setups | Client validates the endpoint certificate; a self-signed endpoint fails unless its CA is trusted by the OpenCTI container | Object storage on a separate host or appliance, where uploaded files and exports leave the platform network |
Which connections default to plaintext
Reviewers should treat every OpenCTI dependency connection as unverified until they have read its settings in the deployed version. Connections to Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage each have their own client settings in the platform configuration, and the connector and worker containers often carry separate copies of those settings. A connection that is encrypted on the platform side can still run in plaintext from a worker, a connector or a monitoring probe, so the check has to cover every process that talks to each service, not only the platform.
Each dependency exposes encryption on the server side and on the client side, and the two are configured separately. Redis has its own TLS listener and client options, RabbitMQ separates its AMQP listener from its management and inter-node settings, and search clusters separate node-to-node transport from client-facing HTTP traffic. Enabling TLS on the server does not force clients to use it, and a client that is not told to verify certificates may accept any certificate presented to it. Confirm, for each connection, whether the service listens on an encrypted port, whether the client is configured to use that port, and whether certificate and hostname verification is enabled.
Do not rely on example files as a statement of what your deployment does. Sample Compose files, Helm values and quick-start guides are written for a first run, and they often use plaintext ports and disabled verification to keep the stack simple. Confirm the defaults for the OpenCTI version you deploy by reading the shipped configuration and the environment variables your orchestration actually passes in. Record the result for each connection, because a single unchecked worker or connector is enough to send intelligence data across the network in clear text.
Public CA, internal CA or mutual TLS: choosing a trust model
A public certificate authority is the simplest trust model when a dependency is reachable under a hostname you control and clients can validate a publicly trusted chain. The platform and workers then trust the chain already in their operating system or runtime trust store, so no custom root has to be distributed. This model usually fits endpoints exposed through a load balancer or a managed S3-compatible service. It is a poor fit for internal service names such as cluster-local DNS entries, because public CAs do not issue certificates for names that are not publicly resolvable in the way the certificate needs.
- Rotation: Renewal is often automated by the issuer or an ACME client, but the renewal process must still reach every dependency that presents the certificate.
- Distribution: Public roots are usually present in base images, which removes custom trust bundles, but confirm the image's trust store matches your hardening baseline.
- Revocation: Revocation depends on the public CA's processes, so confirm which checks each client performs and whether they fail open or closed.
- Internal names: Certificates for private hostnames generally cannot come from a public CA, so this model does not cover internal service discovery.
- Cost: Certificate fees vary by issuer and are not part of this topic's supplied facts, so ask your issuer for the terms that apply.
Before choosing this model, confirm for Elasticsearch or OpenSearch, Redis, RabbitMQ and your S3 endpoint that each one can present a certificate whose names match the hostnames OpenCTI actually uses.
An internal CA issues certificates for service names inside your network and is the most common choice for OpenCTI dependencies that run in your own infrastructure. The root or intermediate certificate must then be distributed to the OpenCTI platform, its Python workers and every connector container that opens a connection, because none of them trust it by default. Container images are the main operational friction: a trust bundle baked into an image must be rebuilt when the CA changes, while a mounted bundle can be updated without a rebuild but must be mounted into every service.
- Rotation: Plan leaf certificate renewal and intermediate rotation separately, and test that services reload the new chain without a full outage.
- Distribution: Decide whether the bundle is baked into images, mounted from a secret or config map, or injected by the orchestrator, and apply the same method to workers and connectors.
- Revocation: Confirm whether your CA publishes a certificate revocation list or an OCSP responder and whether each client checks it, since many clients do not check revocation by default.
- Ownership: Name the team that issues, renews and retires the CA, because an expired internal root can stop every connection at once.
- Connector reach: Include connectors and any external workers in the distribution plan, not only the core platform.
Before choosing this model, confirm for each dependency which trust store path and configuration key the client reads, and whether the client accepts a custom CA bundle at all.
Mutual TLS adds a second step: the client presents its own certificate, and the dependency verifies it against a trusted CA. This narrows access to clients holding a valid identity, so it suits dependencies where you want the service to authenticate OpenCTI components at the transport layer, in addition to passwords or ACLs. It also multiplies certificates. Each platform instance, worker and connector that connects needs a client certificate, and each one needs a renewal path and a revocation path. Confirm for each dependency whether mutual TLS is supported in its current version and how it is configured, since the supplied facts do not establish that for every dependency this page covers.
- Identity per component: Issue one client certificate per deployable role where possible, so a compromised connector can be revoked without disrupting the platform.
- Rotation: Client certificates multiply the renewal workload, so automate issuance and make sure restarts after renewal are planned.
- Distribution: Client keys are secrets and should live in a secret store or mounted secret, never in an image layer.
- Revocation: Confirm whether the dependency checks revocation for client certificates and how quickly a revoked identity loses access.
- Operations: Test the failure path, since a single expired client certificate can block ingestion while the platform still appears healthy.
Before choosing this model, confirm each dependency's client certificate options in its own documentation and list every connecting component that would need a certificate.
Setup sequence for TLS on each dependency
This sequence turns plaintext connections between OpenCTI and its dependencies into verified TLS connections, one hop at a time, so each change can be tested before the next one starts. Each step ends with a check the team can record as evidence.
Inventory every connection to each dependency
Before changing anything, list every client that talks to Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage. Include the OpenCTI platform nodes, the Python workers that consume RabbitMQ messages, and each connector that reaches the platform or a dependency directly. For each pair, record the host name, port, protocol and the setting that controls it in the configuration. The step is done when the team has a table with no unknown clients, and the owner of each connector has confirmed it. Anything missing from this list will keep sending plaintext after the rest of the work is finished.
Issue certificates with correct subject names
Obtain a server certificate for each dependency from your internal CA or a public CA, as your policy allows. The subject alternative name must match the exact host name that OpenCTI and its workers use in their configuration, not a short name or an IP address that is not in the certificate. Confirm with your PKI owner which CA issues the certificates, how long they are valid and how renewal works, since these are set by your organization and not by this guide. The check is that each certificate lists the expected names and chains to the CA you intend to distribute.
Enable TLS on each dependency
Turn on TLS on the server side of each dependency, following the vendor documentation for your exact version. For OpenSearch, this covers the transport and HTTP layers. For Redis, enable TLS on the TLS port and confirm the client port setting that your version supports. For RabbitMQ, configure the TLS listener and disable the plaintext listener when clients are ready. For S3-compatible storage such as MinIO, enable HTTPS on the endpoint. Keep the plaintext listener open for now so that clients can still connect while you test. The check is a successful TLS handshake on each new port from an admin host, using openssl s_client or the equivalent tool for each protocol.
Distribute the CA bundle to all clients
Copy the CA certificate chain that signed the dependency certificates to every OpenCTI platform node and every worker and connector host. Store it in a location the service account can read, and point each client's CA setting at that file. Where a connector runs in a separate container or host, include it in this distribution as well. The check is that each client host can read the bundle file and that its permissions and ownership match the service account running the process. Record the file path and checksum so that a later rotation can be verified against the same source.
Switch clients to verified connections
Change the connection settings for OpenCTI platform nodes, workers and connectors one dependency at a time, enabling TLS and certificate verification together rather than turning verification off. Use the configuration keys documented for your OpenCTI version and the client library in use. Keep certificate verification enabled and verify that the host name in the connection URL matches the certificate. Restart the affected services and watch their logs for TLS or certificate errors. The check is that each service starts, connects and completes a test write or read against the dependency without disabling verification.
Test each hop and its failure behavior
Test every hop separately. Confirm that the certificate chain validates and that the host name matches for each connection, and that a client using the wrong CA or a mismatched host name is rejected. Check that OpenCTI can index, cache, queue and store a file through each dependency. Then confirm the plaintext ports are closed: a connection attempt to the old port should fail, and no client should log a plaintext connection. Record the test results with dates and the person who ran them. This record is the evidence that the configuration works as described, not a certification.
Close plaintext listeners and record the baseline
Once every client has passed its tests, disable the plaintext listeners on the dependencies and remove any plaintext settings from the OpenCTI configuration and connector files. Repeat the port scan from an approved network location to confirm that only the TLS ports are open. Save the final configuration, the CA bundle reference and the test records as the baseline for future upgrades and certificate renewals. The check is a clean port scan, a clean client log over a normal operating period, and a documented owner for each certificate.
How encrypted hops fit between OpenCTI, its workers and dependencies
The diagram starts at the OpenCTI platform, which serves the UI and GraphQL API, and shows the Python workers that consume RabbitMQ messages for asynchronous writes. Connectors reach the platform and the queues, while the platform and workers talk to Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage. Each arrow is a link you must configure and verify with TLS, and everything sits inside the client's own network boundary. Check every hop separately, because enabling TLS on one dependency does not cover the others.
Each dependency link inside the client's network needs its own TLS configuration.
Certificate handling, key storage and monitoring risks
Turning on TLS is the first step. The cards below cover what keeps it working: who can read the private keys, how certificates are renewed without restarting the platform, and how failures stay visible. Each dependency has its own TLS stack, so the checks apply to all four connections.
Restrict who can read private keys
Each dependency connection uses a client certificate or a CA chain that OpenCTI and its workers must read from disk or a mounted secret. Limit read access on those files to the service user that runs the platform and workers, and keep keys out of container images and shared repositories. Confirm that the same key is not reused across Elasticsearch or OpenSearch, Redis, RabbitMQ and the S3 endpoint unless you have decided that on purpose.
Plan certificate rotation before expiry
Every dependency certificate has an expiry date, and an expired certificate stops ingestion and search in the same way a broken network path does. Record the expiry date of each certificate, and test a rotation in a non-production environment that restarts the platform, workers and connectors in the order you will use in production. Ask your team which of these components reload certificates without a restart and which do not.
Verify hostnames, not only chains
A certificate can be signed by your internal CA and still fail when the hostname OpenCTI connects to is not listed in its subject alternative names. This commonly appears when a service is reached through a load balancer, a Kubernetes service name or an S3 endpoint alias. Confirm that each client connects using the exact name in the certificate, and check that the name used in configuration matches the one the certificate lists.
Avoid disabling verification to get past errors
Turning off certificate verification is a common shortcut during first deployment, and it often stays in place after the connection works. With verification disabled, a connection can be intercepted without any warning to the platform. Treat any setting that skips verification as a temporary diagnostic, record where it was changed, and make removing it a required step in the go-live checklist.
Log TLS failures where someone will see them
A failed TLS handshake can appear as a generic connection error in the platform logs, and workers may retry silently while queues grow. Decide which logs record handshake and certificate errors for each dependency, and forward them to the monitoring stack your team already watches. Ask the vendor or your own tests which error messages each component produces, and set an alert on repeated failures.
Keep dependency TLS stacks supported
TLS fixes arrive in dependency releases, so an unsupported Elasticsearch, OpenSearch, Redis or RabbitMQ version can keep an old TLS stack in production. Check the current support window of each dependency against your OpenCTI version before you choose the versions to run. For RabbitMQ, community support for 4.2 ended on July 31, 2026, so confirm whether your deployment needs a commercial support license.
RabbitMQ release informationWhy TLS changes break connections and how to test them
Most TLS breakage after enabling encryption comes from four causes: a client that does not trust the internal CA that signed the dependency's certificate, a server that presents a leaf certificate without its intermediate chain, a certificate whose subject alternative names do not include the hostname OpenCTI uses (for example, the service name in a container network or a Kubernetes DNS name), and a client that still connects to the plaintext port. The last one is easy to miss because the platform may start cleanly while a worker or connector silently keeps talking to the old endpoint. Check each dependency separately, since Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage each have their own TLS settings and their own client libraries, and a success on one says nothing about the others.
Test each connection from the same network position as the workers, not from an administrator's workstation. Run a short check from inside the worker container or pod, using the same CA bundle, hostname and port the platform config references. For each service, confirm that the handshake completes with certificate verification enabled, that the presented chain validates against the internal CA, and that the hostname matches a SAN entry. Then confirm the application-level call works, such as a cluster health request, an authenticated Redis command, a RabbitMQ connection with the configured virtual host, and a bucket listing. Confirm also that plaintext ports refuse connections or are no longer reachable from worker networks. Your security team should confirm the exact tooling and the versions of each client library in your build, because certificate handling differs between them.
Plan the rollback before the change window, and make it a configuration rollback rather than a plaintext fallback. Keep the previous certificate chain and CA bundle available so you can restore a known-good trust configuration without disabling verification. Avoid the shortcut of turning off certificate checks to get the platform running, because that leaves the connection encrypted but unauthenticated and the problem will persist. Change one dependency at a time, verify it, and only then move the next, so a failure points to a single component. Keep the plaintext listener open only for as long as the rollback window requires, and record when it closes. Read the OpenCTI deployment overview alongside your dependency versions before you schedule the change.
Limits to confirm in your environment
Several of the TLS settings for this path depend on versions and vendor behavior that change between releases. The cards below list what to confirm in your own environment before you write configuration, so the design rests on your exact components rather than on defaults from memory.
Exact OpenCTI release and TLS options
OpenCTI uses date-based version numbers, and the platform and its workers must agree on the release you deploy. Check the current releases page for the newest regular release or LTS line you plan to run, then confirm in that release's configuration reference which TLS and certificate settings exist for Elasticsearch or OpenSearch, Redis, RabbitMQ and S3. Do not carry settings over from an older branch without checking them.
- Latest regular release cited
- 7.261016.0
Search backend version and security setup
Confirm whether you run Elasticsearch 8.0 or later, or OpenSearch 2.9 or later, and whether its HTTP and transport layers already require TLS. Decide if the client certificate chain must be trusted explicitly or if the search backend's own security plugin issues it. Your choice here changes which CA file OpenCTI needs to trust.
OpenSearch security docsRedis version and hosting model
Confirm the Redis version and whether it is self-run, run through Redis Software, or consumed as a managed service. Licensing differs by major line, so the Redis 8 license choice and the 7.x source-available terms apply to different versions. Also confirm whether you use Sentinel, which needs at least three Sentinel instances, because the TLS setup for replicas and Sentinel is separate from the client connection.
- Minimum Redis for OpenCTI
- 7.1
RabbitMQ version and listener configuration
Confirm the RabbitMQ release and whether community support still covers it. Check that the AMQPS listener is enabled, that the certificate and key paths are set for the listener, and that the management or peer verification options match your CA. Quorum queues are the replicated structure to use, and classic mirroring no longer exists in RabbitMQ 4.0 and later.
- Latest release cited
- 4.3.6
S3 vendor behavior with custom CAs
Confirm how your S3-compatible store, such as MinIO or another vendor, presents its endpoint certificate, whether it accepts HTTPS on a custom port, and whether the SDK in OpenCTI trusts your internal CA bundle. Test an upload and a read from the OpenCTI container itself, because a successful check on a workstation does not prove the worker's trust store is correct.
Certificate validation and rotation
Confirm who issues each certificate, how long it lasts, and how it is replaced without a full outage. Verify that each client actually checks hostnames and the chain, and that no setting disables verification for convenience. Record the exact file paths and the owner of each CA bundle so that renewal does not depend on a single engineer.
Questions teams ask before encrypting OpenCTI dependency traffic
Is TLS required on every OpenCTI dependency connection?
No single rule covers all four dependencies, so TLS is a decision you make and verify for each link. The platform and each dependency have their own transport settings. Elasticsearch or OpenSearch holds indexed intelligence, Redis holds cached and coordination state, RabbitMQ carries queued messages between the platform and its workers, and S3-compatible storage holds uploaded files. Any one of these links can expose data or credentials if it runs in plaintext on a shared network. Many regulated teams therefore treat encryption as the baseline for all four. Start from the dependency versions in the OpenCTI deployment overview, then confirm the TLS option names for your OpenCTI release in its configuration reference and in each dependency's own documentation.
How much work is an internal CA setup for OpenCTI dependencies?
The effort is driven mainly by how much of your public key infrastructure already exists. If your organization runs an internal CA with an approved issuance process, the work is mostly issuing service certificates with correct subject alternative names and installing the trust chain on each component. If no suitable CA exists, the work also includes designing the hierarchy, protecting the root key, setting certificate lifetimes and building a renewal process. The main cost drivers are:
- whether certificates come from an existing CA or a new one
- how many hostnames and cluster nodes each dependency has
- whether the platform, workers and connectors all need the CA added to their trust stores
- how renewal and rotation are automated
- how each runtime handles trust, since Java, Python and Node components can each read certificates differently
Ask any provider to break its estimate down by these items so you can compare proposals on the same basis.
Can our own team encrypt OpenCTI traffic, or do we need a partner?
A platform team can do this in-house if it already operates all four dependencies and has PKI experience, and that route is often the most economical when the scope is small. A partner adds the most value when the work spans several clusters, when the team lacks capacity to run Elasticsearch or OpenSearch, Redis, RabbitMQ and object storage securely at the same time, or when an assessor expects documented evidence of the change. DeployOpen plans, implements and hardens self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Whichever route you choose, decide early who will renew certificates after handover, because an unowned renewal process is a frequent way encrypted links fail later.
What does our team need to provide for certificate work?
Scoping goes faster when your team has these items ready before the first workshop. Expect to provide the following:
- A network diagram showing OpenCTI nodes, workers, connectors and each dependency, with ports and hostnames
- Access to the internal CA, or a documented process for issuing service certificates
- Certificate tooling your team already approves, such as an enterprise issuance platform or an ACME client
- Current dependency versions and configuration files
- A test environment and a change window for service restarts
- A named owner for each dependency after handover
Missing CA access is easy to overlook until late in planning, so raise it in the first conversation and record it in the written scope.
How long does testing take as the number of dependencies grows?
Testing scales with connection paths, and each dependency has several. For every link, you need to confirm a successful TLS handshake, hostname validation against the certificate, correct failure behavior when a certificate is expired or untrusted, and a clean restart of OpenCTI workers after rotation. Redis Sentinel adds checks on each Sentinel instance, and the Redis Sentinel documentation calls for at least three Sentinel instances in a robust deployment, so the path count rises quickly. RabbitMQ clusters add a listener on each node that needs its own verification. Ask for a test matrix in the proposal that lists each link, its test cases and the environment it runs in, and confirm the schedule with the team that will carry out the tests. No duration is fixed here because it depends on your topology.
Does OpenCTI Enterprise Edition change how these connections are encrypted?
The supplied documentation does not tie encryption of the four dependency links to a license edition, but confirm this with Filigran for your release before you finalize the design. What the Enterprise Edition changes is authentication. Since OpenCTI 7.260224.0, defining and using authentication strategies, including SSO, is an Enterprise Edition feature. OpenCTI supports client certificates as an authentication strategy, so if you plan certificate-based user login, confirm whether your license covers it before designing user certificate issuance. The Enterprise Edition docs list the full feature set. Community Edition teams can still encrypt all four dependency links.
Which Redis license terms matter when we pick a version to encrypt?
Enabling TLS leaves the license untouched, while the Redis version you choose sets the terms. Redis 8.0 and later can be used under a license of your choice among RSALv2, SSPLv1 and AGPLv3, effective from the Redis 8 general availability release. Redis 7.4.x through 7.8.x remain under the dual RSALv2 or SSPLv1 license, and neither of those is OSI-approved. Redis 7.2.x and earlier remain under BSD-3-Clause. According to the Redis licenses FAQ, teams using unmodified Redis artifacts from 7.2 or earlier see no impact, while teams that offer modified Redis code as a network service must make the modified source available to that service's users. Confirm the terms that apply to your version with your legal counsel, using the Redis licenses page as the starting point.
How DeployOpen scopes TLS work for OpenCTI
DeployOpen agrees the scope of TLS work in writing before any configuration changes start. The written scope names each connection between the OpenCTI platform, its Python workers and connectors and the dependencies they reach: Elasticsearch or OpenSearch, Redis, RabbitMQ and the S3-compatible object store, such as MinIO. For each connection, the scope records the current state: whether traffic is plaintext, whether TLS is enabled on the server side, whether clients verify the server certificate, which certificate authority issues the certificates, and who owns each system. Connectors and workers are included, because they open their own connections and are often configured separately from the platform. The result is a connection inventory that the client's security and platform teams can review before any work begins.
DeployOpen then implements and verifies TLS inside the client's own infrastructure, in the environment the client controls. Verification covers more than a successful connection. For each dependency, the team checks that the certificate chain validates against the internal CA the client supplies, that hostnames match the names clients use, that certificate expiry and renewal are understood, and that plaintext ports are closed where the client has decided they should be. Where a dependency's version or edition does not support a setting the client expects, the scope says so and records the decision, rather than leaving it to be found in a review. Each change is tested in a non-production environment first and then repeated after deployment. Where the client asks, the team can also cover the Redis and RabbitMQ license and version questions that affect what the client may run.
DeployOpen documents the evidence for the client's security and compliance reviewers: the connection inventory, the configuration as deployed, test results, and the decisions and open items. DeployOpen prepares these controls and this evidence, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies decide whether a control meets a given framework. Clients should confirm with their assessor which evidence they expect, such as configuration exports, certificate inventories or test outputs, before the work is scoped, so the documentation is built for that review.

