diff --git a/client-webserver/sni_challenge.py b/client-webserver/sni_challenge.py index 567cad51b..a5c95b78d 100644 --- a/client-webserver/sni_challenge.py +++ b/client-webserver/sni_challenge.py @@ -21,8 +21,9 @@ def getChocCertFile(nonce): def findApacheConfigFile(): #This needs to be fixed to account for multiple httpd.conf files + # TODO: reliably and quickly find the httpd.conf anywher on the system? try: - p = subprocess.check_output(["sudo", "find", "/", "-name", "httpd.conf"], stderr=open("/dev/null")) + p = subprocess.check_output(["sudo", "find", "/etc", "-name", "httpd.conf"], stderr=open("/dev/null")) p = p[:len(p)-1] print "Apache Config: ", p return p