diff --git a/trustify/client/client.py b/trustify/client/client.py index 50efaf6e2..8315748da 100755 --- a/trustify/client/client.py +++ b/trustify/client/client.py @@ -335,7 +335,7 @@ def authenticate(): #cert_chain_abspath = os.path.abspath(chain_file) for host in vhost: config.deploy_cert(host, os.path.abspath(cert_file), os.path.abspath(key_file), cert_chain_abspath) - sni_challenge.apache_restart() + sni_challenge.apache_restart(curses) elif r.failure.IsInitialized(): print "Server reported failure." sys.exit(1) diff --git a/trustify/client/configurator.py b/trustify/client/configurator.py index d77344890..2123c7dea 100644 --- a/trustify/client/configurator.py +++ b/trustify/client/configurator.py @@ -363,7 +363,7 @@ class Configurator(object): Checks apache2ctl to get loaded module list """ try: - p = subprocess.check_output(["sudo", "/usr/sbin/apache2ctl", "-M"], stdout=open("/dev/null", 'w'), stderr=open("/dev/null", 'w')) + p = subprocess.check_output(["sudo", "/usr/sbin/apache2ctl", "-M"], stderr=open("/dev/null", 'w')) except: print "Error accessing apache2ctl for loaded modules!" print "This may be caused by an Apache Configuration Error"