Function async_acme::rustls_helper::order[][src]

pub async fn order<C, F>(
    set_auth_key: F,
    directory_url: &str,
    domains: &[String],
    cache: Option<&C>,
    contact: &[String]
) -> Result<CertifiedKey, OrderError> where
    C: AcmeCache,
    F: Fn(String, CertifiedKey) -> Result<(), AcmeError>, 
Expand description

Obtain a signed certificate from the ACME provider at directory_url for the DNS domains.

The secret for the challenge is passed as a ready to use certificate to set_auth_key(domain, certificate)?. This certificate has to be presented upon a TLS request with ACME ALPN and SNI for that domain.

Provide your email in contact in the form mailto:admin@example.com to receive warnings regarding your certificate. Set a cache to remember your account.