TLS Configuration Guide
Configure TLS encryption on Bindplane collector receivers with examples and parameter reference.
Understanding TLS Direction in Receivers
When configuring TLS for receivers (TCP, Syslog, OTLP, etc.), the collector acts as a TLS server, accepting encrypted connections from clients sending telemetry data.
Key Concepts
Server Certificate (cert_file / key_file)
The certificate the collector presents to connecting clients
Must include the private key file
Can contain a certificate chain (server cert + intermediates)
Client Verification (ca_file / client_ca_file)
Used to verify client certificates in mutual TLS (mTLS)
NOT used for the server's own certificate
ca_file: Provides CA certificates for client verification (does not enforce mTLS)client_ca_file: Explicitly requires and verifies client certificates (enforces mTLS)Optional unless you require client authentication
Trust Store Updates
Updating the collector's system trust store affects outbound connections only
Does not change what certificates the collector presents to clients
Does not help clients verify the collector's certificate
Configuration: UI vs YAML Field Names
Field Name Mapping
When configuring TLS through the Bindplane UI, field names are presented in a user-friendly format. These map to YAML parameters as follows:
Enable TLS
enable_tls or nested tls: block
Enable TLS encryption
TLS Certificate Path / Cert File
tls_certificate_path or cert_file
Server certificate file (can include full chain)
TLS Private Key Path / Key File
tls_private_key_path or key_file
Server private key file (must be unencrypted)
CA File
ca_file
CA certificate for optional client verification
Client CA File
client_ca_file
CA certificate that enforces mTLS
TLS Min Version
tls_min_version or min_version
Minimum TLS version ("1.2" or "1.3")
Enable Mutual TLS
enable_mutual_tls
Syslog-specific mTLS toggle
Why Field Names Differ
Bindplane UI: Uses human-readable field names for better user experience
YAML Configuration: Uses OpenTelemetry Collector's native parameter names
Documentation: May show either style depending on context
When copying configurations from this guide into the Bindplane UI, the UI will automatically map the field names. When editing YAML directly or using the API, use the parameter names shown in the examples below.
Configuring TLS in the Bindplane UI
Important UI Notes
Enabling TLS: You must first check the "Enable TLS" checkbox before other TLS-related fields become visible or active.
Mutual TLS (mTLS): There is no separate "Enable mTLS" checkbox in the UI for most receivers. Instead:
mTLS is implied when you provide a CA certificate file in the appropriate field
For TCP/Syslog sources: Providing a value in "CA File" or "Client CA File" enables client certificate verification
The behavior depends on the specific field:
CA File → Optional client verification (clients can connect with or without certificates)
Client CA File → Required client verification (mTLS enforced, clients must present valid certificates)
Finding mTLS Settings: Look for fields named:
"CA File"
"Client CA File"
"Enable Mutual TLS" (available on some receivers like Syslog)
Example UI Workflow for TCP Source with mTLS
Select TCP source
Configure basic settings (listen address, etc.)
Expand the Advanced section
Check "Enable TLS"
Fill in "TLS Certificate Path" (your server certificate)
Fill in "TLS Private Key Path" (your server private key)
Fill in "Client CA File" (to enforce mTLS and verify client certificates)
Optionally set "TLS Min Version" to "1.2" or higher
Basic Configuration Examples
TCP Receiver with TLS
Basic TLS configuration where the server presents a certificate, but no client verification is performed:
Syslog Receiver with TLS
OTLP Receiver with TLS
Configuration Parameters Reference
Common TLS Parameters (All Receivers)
cert_file
string
-
Path to server certificate file (PEM format). Can contain full certificate chain (leaf cert + intermediates). Must be paired with key_file.
key_file
string
-
Path to server private key file (PEM format). Must be unencrypted (no passphrase). Must be paired with cert_file.
min_version
string
"1.2"
Minimum TLS version accepted. Valid values: "1.0", "1.1", "1.2", "1.3". TLS 1.0 and 1.1 are deprecated.
max_version
string
-
Maximum TLS version (empty = use latest, currently TLS 1.3)
cipher_suites
[]string
-
List of allowed cipher suites (empty = use safe defaults)
reload_interval
duration
-
Automatically reload certificates at interval (e.g., "24h")
Client Verification (Mutual TLS)
ca_file
string
-
Path to CA certificate(s) for optional client verification. If clients present certificates, they'll be verified against this CA. Does not require or enforce client certificates.
client_ca_file
string
-
Path to CA certificate(s) that enforces mutual TLS. When set, the server requires all clients to present valid certificates signed by this CA. Sets ClientAuth to RequireAndVerifyClientCert.
client_ca_file_reload
bool
false
Automatically reload client CA file when modified (useful for CA rotation)
For detailed mTLS configuration, see the Mutual TLS Guide.
Advanced Configuration
Certificate Reloading
Automatically reload certificates without restarting the collector:
Cipher Suite Configuration
Specify allowed cipher suites for enhanced security:
TLS Version Restrictions
Security Recommendations
TLS Version
Certificate Management
Keep certificates updated before expiration
Use certificate chains with intermediate certificates for broader client compatibility
Implement certificate rotation using
reload_intervalMonitor certificate expiration dates proactively
File Permissions
Cipher Suites
Use default cipher suites unless you have specific security requirements
Prefer ECDHE (Ephemeral Diffie-Hellman) for forward secrecy
Prefer AES-GCM over AES-CBC
Avoid deprecated algorithms (RC4, 3DES, MD5)
Testing Your Configuration
After configuring TLS, verify it works correctly:
For detailed testing instructions, see Testing and Verification.
Last updated
Was this helpful?