mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
cainstance: add profile to IPA RA tracking request
Profile-based renewal means we should always explicitly specify the profile in tracking requests that use the dogtag-ipa-ca-renew-agent renewal helper. This includes the IPA RA agent certificate. Update CAInstance.configure_agent_renewal() to add the profile to the tracking request. This also covers the upgrade scenario (because the same method gets invoked). Part of: https://pagure.io/freeipa/issue/7991 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
@@ -1047,6 +1047,7 @@ class CAInstance(DogtagInstance):
|
||||
certmonger.start_tracking(
|
||||
certpath=(paths.RA_AGENT_PEM, paths.RA_AGENT_KEY),
|
||||
ca='dogtag-ipa-ca-renew-agent',
|
||||
profile=ipalib.constants.RA_AGENT_PROFILE,
|
||||
pre_command='renew_ra_cert_pre',
|
||||
post_command='renew_ra_cert',
|
||||
storage='FILE')
|
||||
|
||||
Reference in New Issue
Block a user