D.4. Promoting a Replica to a Master CA Server

download PDF
If your IdM deployment uses an embedded certificate authority (CA), one of the IdM CA servers acts as the master CA: it manages the renewal of CA subsystem certificates and generates certificate revocation lists (CRLs). By default, the master CA is the first server on which the system administrator installed the CA role using the ipa-server-install or ipa-ca-install command.
If you plan to take the master CA server offline or decommission it, promote a replica to take the its place as the master CA:

D.4.1. Changing Which Server Handles Certificate Renewal

To change which server handles certificate renewal, use the following procedure on an IdM server:
  1. Determine which server is the current renewal master:
    • On Red Hat Enterprise Linux 7.3 and later:
      $ ipa config-show | grep "CA renewal master"
      IPA CA renewal master:
    • On Red Hat Enterprise Linux 7.2 and earlier:
      $ ldapsearch -H ldap://$HOSTNAME -D 'cn=Directory Manager' -W -b 'cn=masters,cn=ipa,cn=etc,dc=example,dc=com' '(&(cn=CA)(ipaConfigString=caRenewalMaster))' dn
      # CA,, masters, ipa, etc,
      dn: cn=CA,,cn=masters,cn=ipa,cn=etc,dc=example,dc=com
    In both examples, is the current renewal master.
  2. To set a different server to handle certificate renewal:
    • On Red Hat Enterprise Linux 7.4 and later:
      # ipa config-mod --ca-renewal-master-server
    • On Red Hat Enterprise Linux 7.3 and earlier:
      # ipa-csreplica-manage set-renewal-master
      This command sets the server on which you run the command as the new renewal master.
    These commands also automatically reconfigures the previous CA from renewal master to clone.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.