#9839 [RFE] Allow ipa-certupdate to force specific server to get updates from
Closed: fixed by rjeffman. Opened by kororland.

Request for enhancement

As an admin , I want to specify server I am updating certificates from, so that in case of disaster recovery (full CA expiry, etc.) or replication issues I will be sure the server/client would get correct set of certificates.

Issue

If the certificates are expired on the whole topology, we usually need to fix renewal master first, then get renewed certificates, starting with CA ones, to the replicas, then to the clients.

For the replicas, I need to have a out-of-the-box option to specify a server that has correct data to fetch from. We can do it via editing /etc/ipa/default.conf, but this is error-prone, we don't need this config to have errors or leftovers from a manual intervention.

For the replicas, the process will be:
- fix the renewal master, e.g. with ipa-cert-fix;
- scp /etc/ipa/ca.crt to all the replicas;
- distribute new CA certificates to the replicas with

# ipa-certupdate --force-server=renewal.master.fqdn
  • proceed to fixing the replicas, now that CA certificates are updated.

PR - https://github.com/freeipa/freeipa/pull/7903

Metadata Update from @frenaud:
- Issue assigned to kororland

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-113778

master:

  • 018785196984a34d8968f1758c4dcf2a28e2ac77 Adding option --force-server to specify a server to ipa-certupdate tool.

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-113778, https://issues.redhat.com/browse/RHEL-141446 (was: https://issues.redhat.com/browse/RHEL-113778)

ipa-4-13:

  • 573c9194d9894eb2bea6db77e142cdd899e78bd6 Adding option --force-server to specify a server to ipa-certupdate tool.

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

Metadata