pub struct AcmeCfg {
pub enabled: bool,
pub domains: Vec<String>,
pub email: String,
pub directory_url: String,
pub cache_dir: String,
pub accept_tos: bool,
}Expand description
Automatic certificate management (ACME / Let’s Encrypt) via the HTTP-01 challenge. The
obtained certificate is written to TlsCfg::cert_path/key_path and served by the TLS
listener. Issuance runs at startup only when no certificate exists at cert_path;
there is no automatic renewal yet (see docs/ROADMAP.md) — delete the cert/key files
and restart to re-issue.
Fields§
§enabled: bool§domains: Vec<String>Domains to request a certificate for (the first is the primary CN).
email: StringContact email for the ACME account (registration + expiry notices).
directory_url: StringACME directory URL. Defaults to Let’s Encrypt staging so a misconfiguration can’t burn the strict production rate limits; switch to production explicitly.
cache_dir: StringDirectory for the cached ACME account key (so renewals reuse the same account).
accept_tos: boolYou must set this to true to signify acceptance of the ACME provider’s Terms of
Service; EdgeGuard refuses to register otherwise.