From f1a3ae6eb7f21d7781da7d7c2f03e352a1112b78 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 24 Apr 2019 12:11:22 +0200 Subject: [PATCH] Update the example config file --- acmed/acmed_example.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/acmed/acmed_example.toml b/acmed/acmed_example.toml index 73833cc..5829f8c 100644 --- a/acmed/acmed_example.toml +++ b/acmed/acmed_example.toml @@ -5,16 +5,18 @@ certificates_directory = "/etc/acmed/certs" [[endpoint]] name = "letsencrypt v2 prod" url = "https://acme-v02.api.letsencrypt.org/directory" +tos_agreed = false [[endpoint]] name = "letsencrypt v2 staging" url = "https://acme-staging-v02.api.letsencrypt.org/directory" +tos_agreed = false [[hook]] name = "http-echo" cmd = "echo" args = ["{{proof}}"] -stdout = "/srv/http/{{current_domain}}/.well-known/acme-challenge/{{token}}" +stdout = "/srv/http/{{current_domain}}/.well-known/acme-challenge/{{file_name}}" [[hook]] name = "email-report" @@ -31,15 +33,20 @@ algorithm: {{algorithm}} challenge: {{challenge}} status: {{status}}""" -[[certificate]] +[[account]] +name = "test_account" email = "certs@example.org" + +[[certificate]] +account = "test_account" endpoint = "letsencrypt v2 staging" domains = [ - "test.example.org" + "example.org", + "sub-1.example.org", + "sub-2.example.org" ] algorithm = "ecdsa_p384" -kp_reuse = true -formats = ["pem"] +kp_reuse = false challenge = "http-01" challenge_hooks = ["http-echo"] post_operation_hooks = ["email-report"]