forked from evolix/ansible-roles
fix(certbot): Fix HAPEE renewal hook
This commit is contained in:
parent
5d11468327
commit
4c2548b21d
|
@ -29,6 +29,7 @@ The **patch** part is incremented if multiple releases happen the same month
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
* certbot: Fix HAProxy renewal hook
|
* certbot: Fix HAProxy renewal hook
|
||||||
|
* certbot: Fix HAPEE renewal hook
|
||||||
* keepalived: Fix tasks that use file instead of copy
|
* keepalived: Fix tasks that use file instead of copy
|
||||||
* memcached: Fix conditions not properly writen (installation was always in multi-instance mode)
|
* 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
|
* fail2ban: SQLite purge script didn't vacuum as expected + error when vacuum cannot be done
|
||||||
|
|
|
@ -40,7 +40,7 @@ concat_files() {
|
||||||
}
|
}
|
||||||
cert_and_key_mismatch() {
|
cert_and_key_mismatch() {
|
||||||
hapee_cert_md5=$(openssl x509 -noout -pubkey -in "${hapee_cert_file}" | openssl md5)
|
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}"
|
test "${hapee_cert_md5}" != "${hapee_key_md5}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue