Function async_acme::rustls_helper::drive_order[][src]

pub async fn drive_order<F>(
    set_auth_key: F,
    domains: Vec<String>,
    account: Account
) -> Result<(CertifiedKey, String, String), OrderError> where
    F: Fn(String, CertifiedKey) -> Result<(), AcmeError>, 
Expand description

Obtain a signed certificate for the DNS domains using account.

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.

Returns the signed Certificate, its private key as pem, and the certificate as pem again