The certprofile-import command takes profileId on command line, and also requires it in the profile data (furthermore, it checks that these data match).
Support profile data without the profileId field, adding the value from the command line if it is absent. (If it is present, the existing behaviour shall apply).
mkosek: why is profileID read from 2 places?
ftweedal: IPA framework wants the profile_id (which is used as CN) as first argument. Dogtag also requires it in the profile configuration data. Proposal: if profileId is present in file, check for match, but if not present, add it.
master:
ipa-4-2:
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1200694 (Red Hat Enterprise Linux 7)
Metadata Update from @ftweedal: - Issue assigned to cheimes - Issue set to the milestone: FreeIPA 4.2.1
Login to comment on this ticket.