certbot-apache: use httpd by default for CentOS/RHEL (#9402)

* certbot-apache: use httpd for newer RHEL derived distros

A change in RHEL 9 is causing apachectl to error out when used
with additional arguments, resulting in certbot errors. The CentOS
configurator now uses httpd instead for RHEL 9 (and later) derived
distros.

* Single CentOS class which uses the apache_bin option

* soothe mypy

* Always call super()._override_cmds()
This commit is contained in:
Will Greenberg
2022-10-26 15:07:02 -07:00
committed by GitHub
parent 529942fe4b
commit eed1afb808
7 changed files with 119 additions and 39 deletions
+2
View File
@@ -176,6 +176,8 @@ More details about these changes can be found on our GitHub repo.
* Updated dependencies to use new version of cryptography that uses OpenSSL 1.1.1n, in
response to https://www.openssl.org/news/secadv/20220315.txt.
* CentOS 9 and other RHEL-derived OSes now correctly use httpd instead of apachectl for
various Apache-related commands
More details about these changes can be found on our GitHub repo.