aboutsummaryrefslogtreecommitdiff
path: root/rpkid/cronjob.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-04-07 21:39:17 +0000
committerRob Austein <sra@hactrn.net>2008-04-07 21:39:17 +0000
commit14bd2769a9392101fd34b33ffa7d5d211511d97e (patch)
treeb6b7c7e8c9a7fef715018ae2f80ee43748817037 /rpkid/cronjob.py
parentfc8fb08d155a9b30f04cc67ba351725ef4051881 (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/cronjob.py')
-rw-r--r--rpkid/cronjob.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpkid/cronjob.py b/rpkid/cronjob.py
index c21caf05..65056c40 100644
--- a/rpkid/cronjob.py
+++ b/rpkid/cronjob.py
@@ -40,8 +40,8 @@ if argv:
cfg = rpki.config.parser(cfg_file, "cronjob")
-print rpki.https.client(privateKey = rpki.x509.RSA(Auto_file = cfg.get("https-key")),
- certChain = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-cert")),
- x509TrustList = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-ta")),
- url = cfg.get("https-url"),
- msg = "Please run cron now.")
+print rpki.https.client(client_key = rpki.x509.RSA(Auto_file = cfg.get("https-key")),
+ client_certs = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-cert")),
+ server_ta = rpki.x509.X509_chain(Auto_files = cfg.multiget("https-ta")),
+ url = cfg.get("https-url"),
+ msg = "Please run cron now.")