aboutsummaryrefslogtreecommitdiff
path: root/rpkid/cronjob.py
diff options
context:
space:
mode:
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.")