Chapter 23. Generating CRL on the IdM CA server
If your IdM deployment uses an embedded certificate authority (CA), you may need to move the generating of the Certificate Revocation List (CRL) from one Identity Management (IdM) server to another. It can be necessary, for example, when you want to migrate the server to another system.
Only configure one server to generate the CRL. The IdM server that performs the CRL publisher role is usually the same server that performs the CA renewal server role, but this is not mandatory. Before you decommission the CRL publisher server, select and configure another server to perform the CRL publisher server role.
23.1. Stopping CRL generation on an IdM server Copy linkLink copied to clipboard!
To stop generating the Certificate Revocation List (CRL) on the IdM CRL publisher server, use the ipa-crlgen-manage
command. Before you disable the generation, verify that the server really generates CRL. You can then disable it.
Prerequisites
- You must be logged in as root.
Procedure
Check if your server is generating the CRL:
ipa-crlgen-manage status
[root@server ~]# ipa-crlgen-manage status CRL generation: enabled Last CRL update: 2019-10-31 12:00:00 Last CRL Number: 6 The ipa-crlgen-manage command was successful
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Stop generating the CRL on the server:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check if the server stopped generating CRL:
ipa-crlgen-manage status
[root@server ~]# ipa-crlgen-manage status
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The server stopped generating the CRL. The next step is to enable CRL generation on the IdM replica.
23.2. Starting CRL generation on an IdM replica server Copy linkLink copied to clipboard!
You can start generating the Certificate Revocation List (CRL) on an IdM CA server with the ipa-crlgen-manage
command.
Prerequisites
- The RHEL system must be an IdM Certificate Authority server.
- You must be logged in as root.
Procedure
Start generating the CRL:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check if the CRL is generated:
ipa-crlgen-manage status
[root@replica1 ~]# ipa-crlgen-manage status CRL generation: enabled Last CRL update: 2019-10-31 12:10:00 Last CRL Number: 7 The ipa-crlgen-manage command was successful
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
23.3. Changing the CRL update interval Copy linkLink copied to clipboard!
The Certificate Revocation List (CRL) file is automatically generated by the Identity Management Certificate Authority (Idm CA) every four hours by default. You can change this interval with the following procedure.
Procedure
Stop the CRL generation server:
systemctl stop pki-tomcatd@pki-tomcat.service
# systemctl stop pki-tomcatd@pki-tomcat.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Open the
/var/lib/pki/pki-tomcat/conf/ca/CS.cfg
file, and change theca.crl.MasterCRL.autoUpdateInterval
value to the new interval setting. For example, to generate the CRL every 60 minutes:ca.crl.MasterCRL.autoUpdateInterval=60
ca.crl.MasterCRL.autoUpdateInterval=60
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIf you update the
ca.crl.MasterCRL.autoUpdateInterval
parameter, the change will become effective after the next already scheduled CRL update.Start the CRL generation server:
systemctl start pki-tomcatd@pki-tomcat.service
# systemctl start pki-tomcatd@pki-tomcat.service
Copy to Clipboard Copied! Toggle word wrap Toggle overflow