From 9faa8e61bedb91f316593c428af77a9378b610e1 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 23 Sep 2007 21:22:36 +0000 Subject: Checkpoint svn path=/scripts/irdb.py; revision=1010 --- scripts/irdb.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/irdb.py') 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 }) -- cgit v1.2.3