22.3. Recovering from an expired IdM CA certificate


This is the most critical failure. If the IdM CA certificate itself expires, no certificates can be validated or issued. The recovery process involves renewing the CA certificate as self-signed to restore system functionality, and then optionally re-signing it with an external CA if that was your original configuration.

Procedure

  1. On the renewal server, renew the CA certificate as self-signed. This command uses the existing private key to generate a new CA certificate with a renewed validity period:

    # ipa-cacert-manage renew --self-signed

    If your certificate is close to its expiry date and renewing it did not push the expiry date forward, see the When IPA’s CA certificate is close to expiry date, renewing it doesn’t push forward the expiry date solution.

  2. Fix expired service certificates on the renewal server.

    1. Stop the IdM services:

      # ipactl stop
    2. Run the ipa-cert-fix command to reset the expiration date of expired service certificates in the IdM database:

      # ipa-cert-fix
    3. Issue new certificates and apply them to the IdM services:

      # ipa-certupdate
    4. Restart the IdM services to complete the renewal:

      # ipactl start
  3. If your original setup used an externally-signed CA, you must now get the new CA certificate re-signed by your external authority. If you use a self-signed CA, skip this step.

    1. Generate a certificate-signing request (CSR) for the newly renewed CA:

      # ipa-cacert-manage renew --external-ca

      This creates a CSR file at /var/lib/ipa/ca.csr.

    2. Submit the CSR file to your external CA and receive the newly signed certificate and the external CA’s chain of trust.
    3. Install the newly signed certificate back into IdM:

      # ipa-cacert-manage renew --external-cert-file /path/to/new-ca.pem --external-cert-file /path/to/external-chain.pem
  4. Propagate the new CA certificate to all IdM servers and clients. Run the ipa-certupdate on the renewal server first, then on all other replicas, and finally on all clients:

    # ipa-certupdate

    This step is critical to ensure all systems in the topology trust the new CA certificate.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동