diff --git a/Makefile b/Makefile index c4ddf9d..2f75b75 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,7 @@ install: install -m 0644 $(TARGET_DIR)/man/acmed.toml.5.gz $(DESTDIR)$(MAN5DIR)/acmed.toml.5.gz; \ install -m 0644 acmed/config/acmed.toml $(DESTDIR)$(SYSCONFDIR)/acmed/acmed.toml; \ install -m 0644 acmed/config/default_hooks.toml $(DESTDIR)$(SYSCONFDIR)/acmed/default_hooks.toml; \ + install -m 0644 acmed/config/letsencrypt.toml $(DESTDIR)$(SYSCONFDIR)/acmed/letsencrypt.toml; \ fi if test -f "$(TARGET_DIR)/tacd"; then \ install -m 0755 $(TARGET_DIR)/tacd $(DESTDIR)$(BINDIR)/tacd; \ diff --git a/acmed/config/acmed.toml b/acmed/config/acmed.toml index 6510a24..82ab33e 100644 --- a/acmed/config/acmed.toml +++ b/acmed/config/acmed.toml @@ -1,4 +1,10 @@ +# ------------------------------------------------------------------------ +# Base configruation for ACMEd +# You should adapt this file to include/enhance with your custom toml's +# ------------------------------------------------------------------------ + include = [ "default_hooks.toml", "letsencrypt.toml", + "my_server.toml" ] diff --git a/acmed/config/letsencrypt.toml b/acmed/config/letsencrypt.toml index 80ea99a..60700f4 100644 --- a/acmed/config/letsencrypt.toml +++ b/acmed/config/letsencrypt.toml @@ -1,16 +1,16 @@ [[rate-limit]] -name = "LE min" +name = "Let's Encrypt rate-limit" number = 20 period = "1s" [[endpoint]] -name = "letsencrypt v2 prod" +name = "Let's Encrypt v2 production" url = "https://acme-v02.api.letsencrypt.org/directory" -rate_limits = ["LE min"] +rate_limits = ["Let's Encrypt rate-limit"] tos_agreed = false [[endpoint]] -name = "letsencrypt v2 staging" +name = "Let's Encrypt v2 staging" url = "https://acme-staging-v02.api.letsencrypt.org/directory" -rate_limits = ["LE min"] +rate_limits = ["Let's Encrypt rate-limit"] tos_agreed = false