[Freeipa-devel] #5881 / bz1327092 ; fixing broken caIPAserviceCert profile

Fraser Tweedale ftweedal at redhat.com
Wed May 11 09:22:48 UTC 2016


Hi,

Re: Bug 1327092 - URI details missing and OCSP-URI details are
incorrectly displayed when certificate generated using IPA.

This issue occurs when replica installation overwrites the existing
IPA version of the caIPAserviceCert profile with the version shipped
with Dogtag.  My patch 0057 prevents the issue from occuring but
does not repair installations where the problem already happened.

For repair, one possibility is to detect when this has occured, and
re-import the IPA version of the profile.  IMO this would be quite
brittle, e.g. if the profile shipped with Dogtag changes or if user
has made other changes to the profile it may no longer work.

I propose to add a new option to ``ipa certprofile-mod`` which can
be used to restore profiles shipped with IPA to a "pristine" state.
This would allow admins of affected installations to run a single
command to repair the profile, but I think it is an independently
useful feature, e.g. if admin messes up a profile but didn't keep a
backup of the original config, they can easily get back to the
original state.

The new option would only be applicable to included profiles (error
otherwise).  I suggest it be called ``--reset``.  Example usage:

    ipa certprofile-mod caIPAserviceCert --reset

All comments welcome!

Cheers,
Fraser




More information about the Freeipa-devel mailing list