aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpkid.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/rpkid.py
parent46909637df94d982e5ee8bfbb27994c02fef0861 (diff)
Checkpoint
svn path=/scripts/irdb.py; revision=1010
Diffstat (limited to 'scripts/rpkid.py')
-rwxr-xr-xscripts/rpkid.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/rpkid.py b/scripts/rpkid.py
index cdac0c60..5ef0809d 100755
--- a/scripts/rpkid.py
+++ b/scripts/rpkid.py
@@ -66,8 +66,14 @@ gctx.cms_certs = gctx.cfg.multiget(gctx.cfg_section, "cms-cert")
gctx.https_key = rpki.x509.RSA_Keypair(PEM_file = gctx.cfg.get(gctx.cfg_section, "https-key"))
gctx.https_certs = certChain = rpki.x509.X509_chain()
+gctx.https_tas = rpki.x509.X509_chain()
gctx.https_certs.load_from_PEM(gctx.cfg.multiget(gctx.cfg_section, "https-cert"))
+gctx.https_tas.load_from_PEM(gctx.cfg.multiget(gctx.cfg_section, "https-ta"))
+
+gctx.irdb_host = gctx.cfg.get(gctx.cfg_section, "irdb-host")
+gctx.irdb_port = gctx.cfg.get(gctx.cfg_section, "irdb-port")
+gctx.irdb_url = gctx.cfg.get(gctx.cfg_section, "irdb-url")
rpki.https.server(privateKey=gctx.https_key, certChain=gctx.https_certs,
handlers=(("/left-right", left_right_handler),