Skip to main content
VentStream uses strict TLS when a connector has tls.mode: verify_full. The engine verifies the certificate chain and checks that the certificate matches the configured database hostname.

Choose a trust source

What developers provide

Passwords and connection URLs do not belong in the YAML configuration. Use env: references and inject their values at deployment time.

System trust

Use the default trust store when the provider issues certificates from a standard public CA:
This is normally sufficient for MongoDB Atlas and HTTPS OpenSearch or Elasticsearch endpoints with publicly trusted certificates.

Amazon RDS

VentStream packages the AWS global RDS CA bundle. You do not need to download, mount, or distribute an RDS certificate:
The same trust provider works for an Amazon RDS MySQL source:
For environment-variable configuration, use:
The provider bundle applies to every connection used by the source, including snapshot, replication, join fetching, SQL recomposition, reconciliation, and checkpoint management. Each engine release pins a reviewed copy of the AWS bundle. Upgrade the engine when a VentStream release notes an RDS trust-bundle update. AWS’s current bundle and rotation guidance are available in the Amazon RDS TLS documentation.

Private certificate authority

Use ca_file when the server certificate chains to your own CA:
Mount that PEM file into the standalone container or agent workload. A CA certificate is public trust material, but its integrity still matters. Deliver it through a read-only Kubernetes Secret, ConfigMap, container image, or managed configuration file. Keep client private keys in a secret manager.

Managed and standalone engines

The configuration is identical in both modes:
  • VentStream Cloud delivers trust.provider: aws_rds as part of the selected configuration revision. The managed engine already contains the provider bundle.
  • A standalone Docker or native engine also contains the provider bundle. No additional file is required for aws_rds.
  • A custom ca_file must exist at the configured path in either mode.
ca_file and trust are mutually exclusive. VentStream rejects configurations that specify both, use provider trust with mode: disabled, or select aws_rds for an unsupported connector.

Local databases without TLS

VentStream still supports databases that do not offer TLS:
Use this only on an isolated development network. Production and other remote database connections should use verify_full.

Connection failures

Strict TLS fails closed. Check these first when a source cannot connect:
  1. Use the provider’s DNS hostname, not an IP address, so hostname verification can succeed.
  2. Confirm the system clock is accurate.
  3. For RDS PostgreSQL or MySQL, select trust.provider: aws_rds.
  4. For a private CA, confirm ca_file exists inside the engine process and contains the complete PEM chain.
  5. Do not switch to mode: disabled to work around a certificate error on a remote database.
See the PostgreSQL source and MySQL source guides for connector prerequisites.