kvarn_extensions::certificate

Function get_cert

source
pub fn get_cert(
    account: &Account,
    domain: impl Into<String>,
    alt_names: Vec<impl Into<String>>,
    set_token: impl Fn(&str, &str),
    dev: bool,
) -> Result<(CertifiedKey, OffsetDateTime, (String, String)), Error>
Available on crate feature certificate only.
Expand description

Blocking! set_token: (token, data) In return: (String, String): (certs_pem, pk_pem)