aboutsummaryrefslogtreecommitdiff
path: root/scripts/irdb.py
diff options
context:
space:
mode:
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 })