dogtaginstance: track server certificate with our renew agent

Track Dogtag's server certificate with dogtag-ipa-ca-renew-agent instead of
dogtag-ipa-renew-agent.

https://fedorahosted.org/freeipa/ticket/5959

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Jan Cholasta 2017-01-06 10:47:02 +01:00 committed by Martin Basti
parent d5af11f65c
commit ad49bda907
2 changed files with 3 additions and 3 deletions

View File

@ -325,7 +325,7 @@ class DogtagInstance(service.Service):
pin = self.__get_pin()
try:
certmonger.dogtag_start_tracking(
ca='dogtag-ipa-renew-agent',
ca='dogtag-ipa-ca-renew-agent',
nickname=self.server_cert_name,
pin=pin,
pinfile=None,

View File

@ -917,7 +917,7 @@ def certificate_renewal_update(ca, ds, http):
dirsrv_dir = dsinstance.config_dirname(serverid)
# bump version when requests is changed
version = 5
version = 6
requests = (
(
paths.PKI_TOMCAT_ALIAS_DIR,
@ -962,7 +962,7 @@ def certificate_renewal_update(ca, ds, http):
(
paths.PKI_TOMCAT_ALIAS_DIR,
'Server-Cert cert-pki-ca',
'dogtag-ipa-renew-agent',
'dogtag-ipa-ca-renew-agent',
template % 'stop_pkicad',
'%s "Server-Cert cert-pki-ca"' % (template % 'renew_ca_cert'),
None,