#9673 Uninstall ACME separately during PKI uninstallation
Closed: fixed 6 months ago by rcritten. Opened 7 months ago by rcritten.

Issue

PKI 11.5.0 requires the ACME service to be removed separately from the CA service.

To do so execute:

pki-server acme-remove

This will further change with 11.6.0 where pkispawn will handle the removal of ACME via

pkidestroy -s ACME --remove-conf --remove-logs

Therefore it is probably wise to implement this in DogtagInstance.uninstall. A special case will be required for ACME for 11.5.0 but for 11.6.0 we may be able to treat it as just another subsystem. This might involve creating a separate file acmeinstance.py with only an uninstall routine. That might be the clearest way.
We can alternatively just bolt on calls to uninstall directly using "ACME" as the subsystem. It might be less elegant but could benefit from being clearer as ACME is still, at least for now, automatically deployed.


Metadata Update from @rcritten:
- Issue assigned to rcritten

7 months ago

Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/FREEIPA-11604

7 months ago

To uninstall correctly with PKI 11.6.0 we need to:
- rebase to 4.12.2 in order to pick up clean patch 8293b74
- remove the file paths.ADMIN_CERT_PATH)
- remove the file paths.KRACERT.P12
- add --remove-conf --remove-logs to all pkidestroy calls
- uninstall the ACME service prior to the CA

I believe Fedora Infrastructure is being bitten by this issue: https://pagure.io/fedora-infrastructure/issue/12149

master:

  • 273f68b Don't rely on removing the CA to uninstall the ACME depoyment

ipa-4-12:

  • a785d0c Don't rely on removing the CA to uninstall the ACME depoyment

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 months ago

master:

  • 48479d4 Small fixup to determine which ACME uninstaller to use

ipa-4-12:

  • 9a2de23 Small fixup to determine which ACME uninstaller to use

Log in to comment on this ticket.

Metadata