Files
freeipa/ipaserver/install
Florence Blanc-Renaud eb711f7813 ipa-cert-fix: do not fail when CSR is missing from CS.cfg
When the CSR for an expired cert is not found in
/etc/pki/pki-tomcat/{ca|kra}/CS.cfg, ipa-cert-fix fails to
renew the certificate and repair the installation.

The CSR can be found using certmonger as it is stored in
/var/lib/certmonger/requests/<ID> in the "csr" attribute.
Prior to calling pki-server cert-fix, make sure that the
CSR is present in CS.cfg, or update CS.cfg with the content
found using certmonger.

Fixes: https://pagure.io/freeipa/issue/8618

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2021-01-08 09:47:08 +01:00
..
2020-12-19 14:49:13 +02:00
2020-04-28 11:28:29 +02:00
2020-09-23 16:44:26 +02:00
2019-04-10 13:43:23 +02:00
2020-10-26 17:11:19 +11:00
2020-09-22 09:21:00 -04:00
2020-09-22 09:23:18 -04:00
2020-09-22 09:23:18 -04:00
2020-10-26 17:11:19 +11:00