CERTWATCHSection: (1)Updated: September 2004 |
CERTWATCHSection: (1)Updated: September 2004 |
The program has two modes of operation: normal mode and quiet mode. In normal mode, the certificate given by the filename argument is examined, and a warning email is issued to standard output if the certificate is outside its validity period, or approaching expiry. If the certificate cannot be found, or any errors occur whilst parsing the certificate, the certificate is ignored and no output is produced.
In quiet mode (when the -q argument is given), no output is ever produced.
In both modes of operation, the exit code indicates the state of the certificate:
The certwatch program is run daily by crond from the file /etc/cron.daily/certwatch to warn about the imminent expiry of SSL certificates configured for use in the Apache HTTP server. This warning can be disabled by adding the line: NOCERTWATCH=yes to the file /etc/sysconfig/httpd.
/etc/cron.daily/certwatch