Browse Source

Fix the default hooks

pull/123/head
Rodolphe Bréard 10 months ago
parent
commit
46e6e5b180
  1. 6
      CHANGELOG.md
  2. 10
      acmed/config/default_hooks.toml

6
CHANGELOG.md

@ -12,6 +12,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- The default hooks were not properly updated during the 0.22.0 release, which causes the certificate renewal to fail.
## [0.22.1] - 2023-12-20
### Fixed

10
acmed/config/default_hooks.toml

@ -29,7 +29,7 @@ allow_failure = true
name = "http-01-echo-echo"
type = ["challenge-http-01"]
cmd = "echo"
args = ["{ proof }"]
args = ["{{ proof }}"]
stdout = "{{ env.HTTP_ROOT | default('/var/www') }}/{{ identifier }}/.well-known/acme-challenge/{{ file_name }}"
[[hook]]
@ -72,8 +72,8 @@ type = ["challenge-tls-alpn-01"]
cmd = "tacd"
args = [
"--pid-file", "{{ env.TACD_PID_ROOT | default('/run') }}/tacd_{{ identifier }}.pid",
"--domain", "{ identifier_tls_alpn }",
"--acme-ext", "{ proof }",
"--domain", "{{ identifier_tls_alpn }}",
"--acme-ext", "{{ proof }}",
"--listen", "{{ env.TACD_PORT | default('5001') }}"
]
@ -83,8 +83,8 @@ type = ["challenge-tls-alpn-01"]
cmd = "tacd"
args = [
"--pid-file", "{{ env.TACD_PID_ROOT | default('/run') }}/tacd_{{ identifier }}.pid",
"--domain", "{ identifier_tls_alpn }",
"--acme-ext", "{ proof }",
"--domain", "{{ identifier_tls_alpn }}",
"--acme-ext", "{{ proof }}",
"--listen", "unix:{{ env.TACD_SOCK_ROOT | default('/run') }}/tacd_{{ identifier }}.sock"
]

Loading…
Cancel
Save