From 39c83d17d7adb790ec68658a957481c73f63e7e0 Mon Sep 17 00:00:00 2001 From: David Kreitschmann Date: Thu, 29 Oct 2015 10:06:32 +0100 Subject: [PATCH] Add -t to apache2ctl -D DUMP_RUN_CFG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calling apache2ctl -D DUMP_RUN_CFG on Debian Wheezy (Apache 2.2) will open a socket which breaks standalone auth. letsencrypt still won’t work with apache 2.2 because it only returns „Syntax OK“. Apache 2.4 works the same with or without -t. --- letsencrypt-apache/letsencrypt_apache/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt-apache/letsencrypt_apache/parser.py b/letsencrypt-apache/letsencrypt_apache/parser.py index 0a3643064..ec5211ae4 100644 --- a/letsencrypt-apache/letsencrypt_apache/parser.py +++ b/letsencrypt-apache/letsencrypt_apache/parser.py @@ -122,7 +122,7 @@ class ApacheParser(object): """ try: proc = subprocess.Popen( - [ctl, "-D", "DUMP_RUN_CFG"], + [ctl, "-t", "-D", "DUMP_RUN_CFG"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = proc.communicate()