From 4cf2bfcaa62e9220fdeee952bf719452884507cd Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Fri, 8 May 2015 02:23:24 -0400 Subject: 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 --- ipapython/dogtag.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipapython') 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 -- cgit