Browse Source

also use the correct certificate file

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@677 e5f2f494-b856-4b98-b285-d166d9295462
Jelte Jansen 15 years ago
parent
commit
2ac134c65e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/bin/cmdctl/b10-cmdctl.py.in

+ 1 - 2
src/bin/cmdctl/b10-cmdctl.py.in

@@ -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.