pub fn handle_manual_tls(
ctx: &mut TlsBuildContext,
crypto_provider: &CryptoProvider,
port: u16,
sni_hostname: Option<String>,
cert_path: &str,
key_path: &str,
) -> Result<()>Expand description
Configures a manually provided TLS certificate and private key.
This function:
- Loads and validates the certificate and private key
- Registers the certificate for preloading
- Installs an SNI resolver (or fallback resolver) for the given port
Manual TLS always takes precedence over automatic TLS.