summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2015-05-08 02:23:24 -0400
committerJan Cholasta <jcholast@redhat.com>2015-06-04 08:27:33 +0000
commit4cf2bfcaa62e9220fdeee952bf719452884507cd (patch)
tree58f6d508c7078bb7054948cafac11c7da9e26d35 /ipapython
parentc09bd35e7c081e968d40ecbd52177446f422d532 (diff)
downloadfreeipa-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 'ipapython')
-rw-r--r--ipapython/dogtag.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipapython/dogtag.py b/ipapython/dogtag.py
index 2b4d23335..53085f776 100644
--- a/ipapython/dogtag.py
+++ b/ipapython/dogtag.py
@@ -47,6 +47,8 @@ INCLUDED_PROFILES = {
(u'caIPAserviceCert', u'Standard profile for network services', True),
}
+DEFAULT_PROFILE = u'caIPAserviceCert'
+
class Dogtag10Constants(object):
DOGTAG_VERSION = 10
UNSECURE_PORT = 8080