diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2015-05-08 02:23:24 -0400 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-06-04 08:27:33 +0000 |
commit | 4cf2bfcaa62e9220fdeee952bf719452884507cd (patch) | |
tree | 58f6d508c7078bb7054948cafac11c7da9e26d35 /ipaserver/plugins/rabase.py | |
parent | c09bd35e7c081e968d40ecbd52177446f422d532 (diff) | |
download | freeipa-4cf2bfcaa62e9220fdeee952bf719452884507cd.tar.gz freeipa-4cf2bfcaa62e9220fdeee952bf719452884507cd.tar.xz freeipa-4cf2bfcaa62e9220fdeee952bf719452884507cd.zip |
Add profile_id parameter to 'request_certificate'
Add the profile_id parameter to the 'request_certificate' function
and update call sites.
Also remove multiple occurrences of the default profile ID
'caIPAserviceCert'.
Part of: https://fedorahosted.org/freeipa/ticket/57
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/plugins/rabase.py')
-rw-r--r-- | ipaserver/plugins/rabase.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/plugins/rabase.py b/ipaserver/plugins/rabase.py index e14969970..cf4426235 100644 --- a/ipaserver/plugins/rabase.py +++ b/ipaserver/plugins/rabase.py @@ -67,11 +67,12 @@ class rabase(Backend): """ raise errors.NotImplementedError(name='%s.get_certificate' % self.name) - def request_certificate(self, csr, request_type='pkcs10'): + def request_certificate(self, csr, profile_id, request_type='pkcs10'): """ Submit certificate signing request. :param csr: The certificate signing request. + :param profile_id: Profile to use for this request. :param request_type: The request type (defaults to ``'pkcs10'``). """ raise errors.NotImplementedError(name='%s.request_certificate' % self.name) |