diff options
author | Rob Austein <sra@hactrn.net> | 2008-04-07 21:39:17 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-04-07 21:39:17 +0000 |
commit | 14bd2769a9392101fd34b33ffa7d5d211511d97e (patch) | |
tree | b6b7c7e8c9a7fef715018ae2f80ee43748817037 /rpkid/testbed.py | |
parent | fc8fb08d155a9b30f04cc67ba351725ef4051881 (diff) |
Checkpoint. Add (untested) ability to call out for a dynamic
x509Store verifier object.
svn path=/rpkid/cronjob.py; revision=1627
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r-- | rpkid/testbed.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py index 5c3099d5..daa73f50 100644 --- a/rpkid/testbed.py +++ b/rpkid/testbed.py @@ -532,11 +532,11 @@ class allocation(object): url = "https://localhost:%d/left-right" % self.rpki_port rpki.log.debug("Attempting to connect to %s" % url) cms = rpki.https.client( - privateKey = testbed_key, - certChain = testbed_certs, - x509TrustList = rpki.x509.X509_chain(self.rpkid_ta), - url = url, - msg = cms) + client_key = testbed_key, + client_certs = testbed_certs, + server_ta = rpki.x509.X509_chain(self.rpkid_ta), + url = url, + msg = cms) elt = rpki.cms.xml_verify(cms = cms, ta = self.rpkid_ta) rpki.relaxng.left_right.assertValid(elt) rpki.log.debug(lxml.etree.tostring(elt, pretty_print = True, encoding = "us-ascii")) @@ -625,11 +625,11 @@ class allocation(object): """Trigger cron run for this engine.""" rpki.log.info("Running cron for %s" % self.name) - rpki.https.client(privateKey = testbed_key, - certChain = testbed_certs, - x509TrustList = rpki.x509.X509_chain(self.rpkid_ta), - url = "https://localhost:%d/cronjob" % self.rpki_port, - msg = "Run cron now, please") + rpki.https.client(client_key = testbed_key, + client_certs = testbed_certs, + server_ta = rpki.x509.X509_chain(self.rpkid_ta), + url = "https://localhost:%d/cronjob" % self.rpki_port, + msg = "Run cron now, please") def run_yaml(self): """Run YAML scripts for this leaf entity.""" |