Customers configuring mutual TLS (mTLS) for Warm Standby Replication (WSR) or Schema Replication on Tanzu RabbitMQ with Erlang 26+ often see TLS handshake-related messages in the logs concerning peer verification.
Even when valid client certificates are provided, internal logs may show warnings or errors related to peer certificate verification. This creates confusion because it appears to contradict documentation that recommends (or requires) setting verify = verify_none for the replication client configuration.
In reality, replication links continue to function normally — nothing is broken — but customers seek clarification on the correct (and expected) configuration approach.
The Schema Replication and Warm Standby Replication plugins act as internal TLS clients when connecting from the downstream/standby node to the upstream/primary node.
With the hardened TLS stack in Erlang 26+, the default client behavior changed to verify_peer. The plugin background sync workers have a known limitation in how they handle server certificate chain validation in this context, which can produce verification warnings (or in some cases prevent clean handshakes) even with correctly supplied certificates.
The recommended configuration uses asymmetric verification handling:
Example advanced.config (Downstream / Standby Node)
[
{rabbit, [
%% Core broker configurations (if any)
]},
%% Schema Definition Sync
{schema_definition_sync, [
{ssl_options, [
{cacertfile, "/path/to/ca_certificate.pem"},
{certfile, "/path/to/client_certificate.pem"},
{keyfile, "/path/to/client_key.pem"},
{verify, verify_none} %% Required for Erlang 26+ compatibility
]}
]},
%% Warm Standby Replication
{standby, [
{replication, [
{downstream, [
{ssl_options, [
{cacertfile, "/path/to/ca_certificate.pem"},
{certfile, "/path/to/client_certificate.pem"},
{keyfile, "/path/to/client_key.pem"},
{verify, verify_none} %% Required for Erlang 26+ compatibility
]}
]}
]}
]}
].
Verification
After applying the configuration and restarting the affected node(s):
References
Additional Notes