25장. Obtaining an IdM certificate for a service using certmonger
25.1. Certmonger overview 링크 복사링크가 클립보드에 복사되었습니다!
When Identity Management (IdM) is installed with an integrated IdM Certificate Authority (CA), it uses the certmonger service to track and renew system and service certificates. When the certificate is reaching its expiration date, certmonger manages the renewal process by:
- Regenerating a certificate-signing request (CSR) using the options provided in the original request.
-
Submitting the CSR to the IdM CA using the IdM API
cert-requestcommand. - Receiving the certificate from the IdM CA.
- Executing a pre-save command if specified by the original request.
-
Installing the new certificate in the location specified in the renewal request: either in an
NSSdatabase or in a file. Executing a post-save command if specified by the original request. For example, the post-save command can instruct
certmongerto restart a relevant service, so that the service picks up the new certificate.- Types of certificates
certmongertracks - Certificates can be divided into system and service certificates.
- Types of certificates
Unlike service certificates (for example, for HTTP, LDAP and PKINIT), which have different keypairs and subject names on different servers, IdM system certificates and their keys are shared by all CA replicas. The IdM system certificates include:
-
IdM CAcertificate -
OCSPsigning certificate -
IdM CA subsystemcertificates -
IdM CA audit signingcertificate -
IdM renewal agent(RA) certificate -
KRAtransport and storage certificates
The certmonger service tracks the IdM system and service certificates that were requested during the installation of IdM environment with an integrated CA. Certmonger also tracks certificates that have been requested manually by the system administrator for other services running on the IdM host. Certmonger does not track external CA certificates or user certificates.
- Certmonger components
The
certmongerservice consists of two main components:-
The
certmonger daemon, which is the engine tracking the list of certificates and launching renewal commands -
The
getcertutility for the command line (CLI), which allows the system administrator to actively send commands to thecertmongerdaemon.
-
The
More specifically, the system administrator can use the getcert utility to: