diff --git a/CHANGELOG.md b/CHANGELOG.md index a49c669c..a8537706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ The **patch** part is incremented if multiple releases happen the same month ### Fixed +* certbot: Fix HAProxy renewal hook + ### Removed ### Security diff --git a/certbot/files/hooks/deploy/haproxy.sh b/certbot/files/hooks/deploy/haproxy.sh index c08fafc2..36a09262 100644 --- a/certbot/files/hooks/deploy/haproxy.sh +++ b/certbot/files/hooks/deploy/haproxy.sh @@ -30,7 +30,7 @@ concat_files() { } cert_and_key_mismatch() { haproxy_cert_md5=$(openssl x509 -noout -pubkey -in "${haproxy_cert_file}" | openssl md5) - haproxy_key_md5=$(openssl pkey -noout -pubout -in "${haproxy_cert_file}" | openssl md5) + haproxy_key_md5=$(openssl pkey -pubout -in "${haproxy_cert_file}" | openssl md5) test "${haproxy_cert_md5}" != "${haproxy_key_md5}" }