mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Add -t to apache2ctl -D DUMP_RUN_CFG
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.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user