Chapter 31. Verifying system certificates by using IdM Healthcheck
You can identify issues with system certificates on an Identity Management (IdM) server by using the Healthcheck tool.
31.1. System certificates Healthcheck tests Copy linkLink copied to clipboard!
The Healthcheck tool includes several tests for verifying system, or Dogtag, certificates.
You can find all certificate-related tests under the ipahealthcheck.dogtag.ca source in the output of the ipa-healthcheck --list-sources command.
- DogtagCertsConfigCheck
This test compares the CA (Certificate Authority) certificates in its NSS database to the same values stored in
CS.cfg. If they do not match, the CA fails to start.Specifically, it checks:
-
auditSigningCert cert-pki-caagainstca.audit_signing.cert -
ocspSigningCert cert-pki-caagainstca.ocsp_signing.cert -
caSigningCert cert-pki-caagainstca.signing.cert -
subsystemCert cert-pki-caagainstca.subsystem.cert -
Server-Cert cert-pki-caagainstca.sslserver.cert
If Key Recovery Authority (KRA) is installed, it also checks:
-
transportCert cert-pki-kraagainstca.connector.KRA.transportCert
-
- DogtagCertsConnectivityCheck
This test verifies connectivity. This test is equivalent to the
ipa cert-show 1command which checks the following:- The PKI proxy configuration in Apache
- IdM being able to find a CA
- The RA agent client certificate
- The correctness of CA replies to requests
The test verifies that the
ipa cert-showcommand can be executed and that an expected response is returned from the IdM CA - either the certificate itself or anot foundresponse.
31.2. Screening system certificates by using Healthcheck Copy linkLink copied to clipboard!
You can run a standalone manual test to check system certificates on an Identity Management (IdM) server by using the Healthcheck tool.
Procedure
To run the system certificates test, enter:
ipa-healthcheck --source=ipahealthcheck.dogtag.ca
# ipa-healthcheck --source=ipahealthcheck.dogtag.caCopy to Clipboard Copied! Toggle word wrap Toggle overflow The
--source=ipahealthcheck.dogtag.caoption ensures that Healthcheck only performs the certificate tests.An example of a successful test:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow An example of a failed test:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteRun the certificate tests on all IdM servers when trying to find an issue.