Health checks allow ensuring that the CAs service availability is monitored by the EJBCA Health Check service which can be supervised by a system such as Nagios or Solar Winds. The EJBCA Health Check service can also be used by systems such as F5 load balancers to ensure that the system is running.
To configure the Health Check service:
- Under CA Functions, click CA Activation.
- Select the desired CAs to be monitored.
NOTE It is not advised to monitor the Root CA as it is usually kept offline. - By default, Health Check is not allowed from any external IPs. To change the configuration to allow external IPs, edit the following line in the
ejbca.properties
file:
Change the line to be uncommented and specify the remote IPs that may call the health check servlet (use semicolon ';' to separate multiple IPs or enter "ANY"
for all IPs). - Restart EJBCA with the following command:
service <Servicename (ejbca, jboss or wildfly usually)> restart
CODE
- The Health Check URL is located at:
https://<IP or FQDN>/ejbca/publicweb/healthcheck/ejbcahealth
.
For example: