Class ServerTlsOptions
The host's own TLS material. A listener that asks for TLS resolves its certificate from the
endpoint first (sslCertPath, or a named connection factory), and falls back to what is
set here — the same shape as Camel's global SSLContextParameters and Spring Boot's SSL
bundles, where a certificate on the endpoint is an override rather than a requirement.
Nothing here turns TLS on: ssl stays an explicit per-endpoint decision. This only
answers "with which certificate". A listener that asks for TLS and finds no certificate in
either place refuses to bind.
public sealed class ServerTlsOptions
Inheritance
Properties
DefaultCertificate
Certificate served by any TLS listener that has none of its own. Takes precedence over
public X509Certificate2? DefaultCertificate { get; set; }
DefaultCertificatePath
Path to a PFX file serving the same role as .
public string? DefaultCertificatePath { get; set; }