certsd 0.6.12

CertsD - automated, asynchronous LE certificate issuer.
Documentation
/// How many months left until certificate expiration
pub const DEFAULT_MAX_CERT_VALIDITY_IN_MONTHS: u32 = 2;

/// Max retries for ACME query
pub const DEFAULT_MAX_ATTEMPTS: usize = 5;

/// Max retries for notifications
pub const DEFAULT_MAX_NOTIFICATION_RETRIES: usize = 5;

/// When notification fails, pause this amount of time before trying again
pub const DEFAULT_NOTIFICATION_RETRY_PAUSE_MS: u64 = 5000;

/// ACME poll time when awaiting for the certificate
pub const DEFAULT_ACME_POLL_PAUSE_MS: u64 = 15000;

/// Pause to await when ACME API responds with an "Invalid" state
pub const DEFAULT_ACME_INVALID_STATUS_PAUSE_MS: u64 = 30000;

/// ACME challenge validation pause
pub const DEFAULT_ACME_CHALLENGE_VALIDATION_PAUSE_MS: u64 = 45000;

/// Default Notification name:
pub const DEFAULT_SLACK_NAME: &str = "CertsD";

/// Default Notification failure icon:
pub const DEFAULT_SLACK_FAILURE_ICON: &str = ":error:";

/// Default Notification success icon:
pub const DEFAULT_SLACK_SUCCESS_ICON: &str = ":white_check_mark:";

/// Default failure notification color:
pub const DEFAULT_SLACK_FAILURE_COLOR: &str = "#ff1111";

/// Default success notification color:
pub const DEFAULT_SLACK_SUCCESS_COLOR: &str = "#00ff00";

/// Default max elements for CF API DNS API calls
pub const DEFAULT_MAX_ELEMENTS_PER_PAGE: u32 = 100_000;