wip: designing acme

This commit is contained in:
Jun Kurihara 2024-07-13 04:29:53 +09:00
commit 9b9622edc5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 235 additions and 96 deletions

View file

@ -5,10 +5,4 @@ pub const ACME_DIR_URL: &str = "https://acme-v02.api.letsencrypt.org/directory";
pub const ACME_REGISTRY_PATH: &str = "./acme_registry";
/// ACME accounts directory, subdirectory of ACME_REGISTRY_PATH
pub(crate) const ACME_ACCOUNT_SUBDIR: &str = "account";
/// ACME private key file name
pub const ACME_PRIVATE_KEY_FILE_NAME: &str = "private_key.pem";
/// ACME certificate file name
pub const ACME_CERTIFICATE_FILE_NAME: &str = "certificate.pem";
pub(crate) const ACME_ACCOUNT_SUBDIR: &str = "accounts";