Skip to main content

renew_proxy_site_cert

Function renew_proxy_site_cert 

Source
pub async fn renew_proxy_site_cert(
    app: &App,
    site_id: i64,
    domain: &str,
) -> ClResult<()>
Expand description

Renew the TLS certificate for a single proxy site via ACME.

Creates an ACME account, generates the certificate, stores it in the auth adapter, and invalidates the cert cache. This is called inline from proxy site creation and manual renewal endpoints, as well as from the periodic CertRenewalTask.