Skip to content

Overview

Rodolphe Breard edited this page Nov 1, 2020 · 2 revisions

ACMEd is a daemon, which means it is designed to run in the background and executes all the required actions all by itself. Unlike some other ACME client, it therefore does not require any cron job or any other kind of timer.

The configuration

When started, ACMEd reads its configuration, which is where all the instructions are defined. Those instructions are divided in the following categories :

The files

By default, ACMEd configuration file is /etc/acmed/acmed.toml. Other files may be included.

Account private keys and related data are stored in the /etc/acmed/accounts/ directory. It is possible to define a different directory in the configuration. In any case, this directory should not be left accessible by any user, only ACMEd should access it (chmod 700). In this directory, files names are the associated account's name in base64 (URL safe without padding) followed by .account.bin. As the extension states, those files contains binary data and are not meant to be used by a tool other than ACMEd.

Certificates and the associated private keys are stored in the /etc/acmed/certs/ directory. It is possible to define a different directory in the configuration. The default file format is <cert_name>_<cert_key_type>.<file_type>.pem where:

  • cert_name is the certificate's name.
  • cert_key_type is the certificate's key type.
  • file_type is either crt for the certificate itself or pk for the private key.