Skip to main content

provision_certificate

Function provision_certificate 

Source
pub async fn provision_certificate(
    domain: &str,
    cert_dir: &Path,
    email: &str,
    staging: bool,
    subdomains: &[String],
) -> Result<(), String>
Expand description

Provision a Let’s Encrypt certificate for a domain. The proxy must be running on port 80 to serve HTTP-01 challenges.