Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2020-12-10 23:57:13 +0300
committerGitHub <noreply@github.com>2020-12-10 23:57:13 +0300
commite9a96f5e2aef85016b04e8d1798b855c169caa36 (patch)
tree8b0663648383a5bf3cc7895624b103175acaa0de /certbot-apache
parent878c3e396fc42110c8e96351cb4fc71ac0aadf68 (diff)
Deprecate support of Apache 2.2 in certbot-apache (#8516)
Fixes #8462 * Deprecate support of Apache 2.2 in certbot-apache * Add a changelog
Diffstat (limited to 'certbot-apache')
-rw-r--r--certbot-apache/certbot_apache/_internal/configurator.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/certbot-apache/certbot_apache/_internal/configurator.py b/certbot-apache/certbot_apache/_internal/configurator.py
index c20a4fdd6..16def1998 100644
--- a/certbot-apache/certbot_apache/_internal/configurator.py
+++ b/certbot-apache/certbot_apache/_internal/configurator.py
@@ -327,6 +327,9 @@ class ApacheConfigurator(common.Installer):
if self.version < (2, 2):
raise errors.NotSupportedError(
"Apache Version {0} not supported.".format(str(self.version)))
+ elif self.version < (2, 4):
+ logger.warning('Support for Apache 2.2 is deprecated and will be removed in a '
+ 'future release.')
# Recover from previous crash before Augeas initialization to have the
# correct parse tree from the get go.