pub fn build_server_config_reloadable(
certs: Vec<CertificateDer<'static>>,
key: PrivateKeyDer<'static>,
) -> Result<(ServerConfig, Arc<ReloadableCertResolver>), TlsReloadError>Expand description
Build a ServerConfig backed by a ReloadableCertResolver.
Returns the config and an Arc to the resolver so the caller can later
call reload_from_paths without locking the entire config.