diff options
author | Ade Lee <alee@redhat.com> | 2015-09-30 11:58:29 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2015-09-30 12:00:49 -0400 |
commit | 5e57fb9d78a695850fee2c1f5a86a94092ad918d (patch) | |
tree | 5b78d02238092dbc9861ea08c3367a3a94362cc3 /base/common/python/pki | |
parent | 164f200c1406eb547e0989a55ce114dfc2dff511 (diff) | |
download | pki-5e57fb9d78a695850fee2c1f5a86a94092ad918d.tar.gz pki-5e57fb9d78a695850fee2c1f5a86a94092ad918d.tar.xz pki-5e57fb9d78a695850fee2c1f5a86a94092ad918d.zip |
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.
Diffstat (limited to 'base/common/python/pki')
-rw-r--r-- | base/common/python/pki/cert.py | 6 |
1 files changed, 3 insertions, 3 deletions
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, |