Skip to main content

set_cluster_tls

Function set_cluster_tls 

Source
pub fn set_cluster_tls(tls: ClusterTls) -> Result<(), String>
Expand description

Install process-wide control-plane TLS before any cluster transport is constructed.

Reinstalling byte-identical material is idempotent. Different material, or installation after plaintext was explicitly selected or used by a transport, fails closed.

ยงErrors

Returns an error when transport mode is already plaintext or different TLS material is active.