Files
freeipa/ipaserver/install
Florence Blanc-Renaud a230153837 PKINIT: fix ipa-pkinit-manage enable|disable
The command ipa-pkinit-manage enable|disable is reporting
success even though the PKINIT cert is not re-issued.
The command triggers the request of a new certificate
(signed by IPA CA when state=enable, selfsigned when disabled),
but as the cert file is still present, certmonger does not create
a new request and the existing certificate is kept.

The fix consists in deleting the cert and key file before calling
certmonger to request a new cert.

There was also an issue in the is_pkinit_enabled() function:
if no tracking request was found for the PKINIT cert,
is_pkinit_enabled() was returning True while it should not.

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

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2018-12-05 11:06:21 +01:00
..
2018-10-05 09:04:15 -04:00
2018-09-27 16:11:18 +02:00
2018-10-05 12:06:19 +02:00
2018-11-13 13:37:58 +01:00
2018-10-05 09:04:15 -04:00
2018-10-05 12:06:19 +02:00