diff options
author | Rob Austein <sra@hactrn.net> | 2008-01-09 18:02:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-01-09 18:02:54 +0000 |
commit | 99acf075620c5c97872580ba7eaf60af90067468 (patch) | |
tree | 0a12cbea811068600c2b1999697e1f8bbd3a5215 /scripts/irdbd.py | |
parent | b64c4107c83af6c32f5707218190a3e29be17ede (diff) |
Clean up (most of) the mess of multiple trust anchors left over from
early experiments, because cleaning up the mess was easier than
documenting it.
svn path=/scripts/Makefile; revision=1458
Diffstat (limited to 'scripts/irdbd.py')
-rwxr-xr-x | scripts/irdbd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/irdbd.py b/scripts/irdbd.py index 1d79e875..116c6af6 100755 --- a/scripts/irdbd.py +++ b/scripts/irdbd.py @@ -99,7 +99,7 @@ cur = db.cursor() cms_ta = rpki.x509.X509(Auto_file = cfg.get("cms-ta")) cms_key = rpki.x509.RSA(Auto_file = cfg.get("cms-key")) -cms_certs = rpki.x509.X509_chain(Auto_files = cfg.multiget("cms-cert")) +cms_certs = rpki.x509.X509_chain(Auto_files = cfg.multiget("cms-certs")) u = urlparse.urlparse(cfg.get("https-url")) @@ -111,7 +111,7 @@ assert u.scheme in ("", "https") and \ u.fragment == "" rpki.https.server(privateKey = rpki.x509.RSA(Auto_file = cfg.get("https-key")), - certChain = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-cert")), + certChain = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-certs")), host = u.hostname or "localhost", port = u.port or 443, handlers = ((u.path, handler),)) |