Rechercher une page de manuel
certwatch
Langue: en
Version: April 2005 (mandriva - 01/05/08)
Section: 1 (Commandes utilisateur)
NAME
certwatch - generate SSL certificate expiry warningsSYNOPSIS
- certwatch [OPTION...] filename
DESCRIPTION
- The certwatch program is used to issue warnings when an SSL certificate is about to expire.
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 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, no output is given, but the exit status can still be used.
OPTIONS
--quiet, -q
- Enable quiet mode; no output is produced whether the certificate is expired or not
--period days, -p days
- Specify the number of days within which an expiry warning will be produced; default is 30. Expiry warnings are always produced if, on the day of invocation, the certificate is not yet valid, has already expired, or is due to expire either that day or the following day.
DIAGNOSTICS
The exit code indicates the state of the certificate:
0
- The certificate is outside its validity period, or approaching expiry
1
- The certificate is inside its validity period, or could not be parsed
NOTES
The certwatch program is run daily by crond from the file /etc/cron.daily/certwatch to warn about the imminent expiry of SSL certificates found in system certificate directory.
FILES
/etc/cron.daily/certwatch
SEE ALSO
genkey(1)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre