build_eager_acme

Function build_eager_acme 

Source
fn build_eager_acme(
    ctx: &mut TlsBuildContext,
    server: &ServerConfiguration,
    port: u16,
    sni_hostname: String,
    challenge_type: ChallengeType,
    dns_provider: Option<Arc<dyn DnsProvider + Send + Sync>>,
    crypto_provider: Arc<CryptoProvider>,
    memory_acme_account_cache_data: Arc<RwLock<HashMap<String, Vec<u8>>>>,
) -> Result<()>
Expand description

Builds an eager (startup-time) ACME configuration.

Eager ACME requests and maintains certificates proactively at startup, before any client traffic is received. This is typically used for known hostnames and static configurations.