From 5e57fb9d78a695850fee2c1f5a86a94092ad918d Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Wed, 30 Sep 2015 11:58:29 -0400 Subject: Fixup for subcas The attribute used in requests to specify the authority has changed from authority to issuer_id. This updates the python client accordingly. --- base/common/python/pki/cert.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/common/python') diff --git a/base/common/python/pki/cert.py b/base/common/python/pki/cert.py index b11757ca2..00f6a4168 100644 --- a/base/common/python/pki/cert.py +++ b/base/common/python/pki/cert.py @@ -700,7 +700,7 @@ class CertClient(object): sort_keys=True) params = {} if authority: - params['authority'] = authority + params['issuer-id'] = authority r = self.connection.post( url, @@ -765,7 +765,7 @@ class CertClient(object): params = {} if authority is not None: - params['authority'] = authority + params['issuer-id'] = authority r = self.connection.post( url, @@ -983,7 +983,7 @@ class CertClient(object): params = {} if authority is not None: - params['authority'] = authority + params['issuer-id'] = authority # print request_object r = self.connection.post(self.cert_requests_url, request_object, -- cgit