fix(certbot): Fix HAPEE renewal hook

This commit is contained in:
Mathieu Trossevin 2024-04-26 09:29:15 +02:00
parent 5d11468327
commit 4c2548b21d
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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}"
}