aboutsummaryrefslogtreecommitdiff
path: root/scripts/irdb.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-09-23 21:22:36 +0000
committerRob Austein <sra@hactrn.net>2007-09-23 21:22:36 +0000
commit9faa8e61bedb91f316593c428af77a9378b610e1 (patch)
tree624ab78b088eecc9d8d9bdea0eea9fbd2eb85069 /scripts/irdb.py
parent46909637df94d982e5ee8bfbb27994c02fef0861 (diff)
Checkpoint
svn path=/scripts/irdb.py; revision=1010
Diffstat (limited to 'scripts/irdb.py')
-rwxr-xr-xscripts/irdb.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/irdb.py b/scripts/irdb.py
index 5894ccc6..5423c506 100755
--- a/scripts/irdb.py
+++ b/scripts/irdb.py
@@ -92,4 +92,8 @@ privateKey = rpki.x509.RSA_Keypair(PEM_file = cfg.get(section, "https-key"))
certChain = rpki.x509.X509_chain()
certChain.load_from_PEM(cfg.multiget(section, "https-cert"))
-rpki.https.server(privateKey=privateKey, certChain=certChain, handlers=handler)
+rpki.https.server(privateKey = privateKey,
+ certChain = certChain,
+ host = cfg.get(section, "https-host"),
+ port = int(cfg.get(section, "https-port")),
+ handlers = { cfg.get(section, "https-url") : handler })