From 4c2548b21d312a1b0f4e9a3d5559133b5f6b8cfe Mon Sep 17 00:00:00 2001 From: Mathieu Trossevin Date: Fri, 26 Apr 2024 09:29:15 +0200 Subject: [PATCH] fix(certbot): Fix HAPEE renewal hook --- CHANGELOG.md | 1 + certbot/files/hooks/deploy/hapee.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dacad144..753556e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ The **patch** part is incremented if multiple releases happen the same month ### Fixed * certbot: Fix HAProxy renewal hook +* certbot: Fix HAPEE renewal hook * keepalived: Fix tasks that use file instead of copy * memcached: Fix conditions not properly writen (installation was always in multi-instance mode) * fail2ban: SQLite purge script didn't vacuum as expected + error when vacuum cannot be done diff --git a/certbot/files/hooks/deploy/hapee.sh b/certbot/files/hooks/deploy/hapee.sh index d39da25b..8d0e234f 100644 --- a/certbot/files/hooks/deploy/hapee.sh +++ b/certbot/files/hooks/deploy/hapee.sh @@ -40,7 +40,7 @@ concat_files() { } cert_and_key_mismatch() { hapee_cert_md5=$(openssl x509 -noout -pubkey -in "${hapee_cert_file}" | openssl md5) - hapee_key_md5=$(openssl pkey -noout -pubout -in "${hapee_cert_file}" | openssl md5) + hapee_key_md5=$(openssl pkey -pubout -in "${hapee_cert_file}" | openssl md5) test "${hapee_cert_md5}" != "${hapee_key_md5}" }