Commit 2ac134c6 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

also use the correct certificate file


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@677 e5f2f494-b856-4b98-b285-d166d9295462
parent 00edc6b8
......@@ -45,8 +45,6 @@ except ImportError:
import dummy_threading as threading
URL_PATTERN = re.compile('/([\w]+)(?:/([\w]+))?/?')
USER_INFO_FILE = "passwd.csv"
CERTIFICATE_FILE = 'b10-cmdctl.pem'
# If B10_FROM_SOURCE is set in the environment, we use data files
# from a directory relative to that, otherwise we use the ones
......@@ -59,6 +57,7 @@ else:
SPECFILE_PATH = "@datadir@/@PACKAGE@".replace("${datarootdir}", DATAROOTDIR).replace("${prefix}", PREFIX)
SPECFILE_LOCATION = SPECFILE_PATH + "/cmdctl.spec"
USER_INFO_FILE = SPECFILE_PATH + "/passwd.csv"
CERTIFICATE_FILE = SPECFILE_PATH + "/b10-cmdctl.pem"
class SecureHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
'''https connection request handler.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment