#[non_exhaustive]pub struct TlsConfig {
pub enabled: bool,
pub cert_path: String,
pub key_path: String,
pub alpn: Vec<String>,
}Expand description
Inbound TLS termination configuration. Basic termination, cert from file is the
OPEN core surface (BOUNDARY.md §3.2): single-node self-sufficiency. ACME/rotation/
multi-node certs / mTLS-with-managed-PKI are ENTERPRISE and plug in behind the
TlsCertSource seam (see waf-proxy::tls).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolDefault OFF: the listener serves cleartext (h1 + h2c). When on, the listener serves ONLY TLS — there is no cleartext fallback on the same port (a required TLS that fails to build is a fatal boot error, never a silent downgrade).
cert_path: StringPEM file with the server certificate chain (leaf first).
key_path: StringPEM file with the private key (PKCS#8 / PKCS#1 / SEC1).
alpn: Vec<String>ALPN protocols advertised, in preference order. Default ["h2","http/1.1"] so an
h2-capable client (e.g. gRPC-over-TLS, Phase 13) negotiates HTTP/2 while an
h1-only client falls back cleanly.