Files
freeipa/ipaserver/plugins
Rob Crittenden db69855646 Clean up the PKI securitydomain when removing a server
PKI has its own internal knowledge of servers and services
in its securitydomain. This has not been cleaned up in the
past but is becoming more of an issue as PKI now relies on its
securitydomain for more things, and it has a healthcheck that
reports inconsistencies.

Removing entries is straightforward using the PKI REST API.

In order to operate on the API access is needed. There was an
unused Security Domain Administrators group that I've added to
the resourceACLS we created for managing the securitydomain.
The ipara user is added as a member of this group. The REST
API binds to the CA using the IPA RA certificate.

Related commits are b3c2197b7e
and ba4df6449a.

These resourceACLS were originally created as a backwards
compatibility mechanism for dogtag v9 and later only created when a
replica was installed purportedly to save a restart. I don't see
any reason to not have these defined. They are apparently needed due
to the PKI database upgrade issues.

In any case if the purpose was to suppress these ACLS it failed
because as soon as a replica with a CA was installed they were as
well, and we need this ACL in order to manage the securitydomain.

https://pagure.io/freeipa/issue/8930

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2021-08-16 09:12:55 +02:00
..
2010-12-20 17:19:53 -05:00
2017-03-27 19:08:26 +02:00
2021-07-09 09:47:30 -04:00
2021-07-09 09:47:30 -04:00
2020-07-07 10:07:48 -04:00
2018-01-09 07:53:28 +01:00
2019-10-21 18:01:32 +11:00
2019-03-28 00:21:00 +01:00
2020-03-31 09:21:37 +03:00
2020-09-23 14:49:15 +02:00
2021-05-12 10:45:57 -04:00
2018-01-09 07:53:28 +01:00
2020-05-05 10:42:46 +02:00
2021-07-09 09:47:30 -04:00
2019-03-28 00:21:00 +01:00