CERTWATCH(1)
π CERTWATCH β the certwatch girlies' guide π
okay so bestie, welcome to certwatch(1) β the little tool that slides into your inbox like "hey queen, your SSL/TLS certificate is about to expire π". It's from the certwatch manual, section 1, and yes we're doing this whole thing together, no skimming, no skipping, we get ALL the details. periodt. β¨
πΈ SYNOPSIS πΈ
certwatch [OPTION...] filename
that's it. that's the whole vibe. one file, some options, let's go. π
π¦ DESCRIPTION π¦
so certwatch is the program you run when you want a warning mail about an SSL/TLS certificate that's about to expire. Like, it's the friend who texts you "girl your cert expires in a month" before everything catches fire. π₯
It has two modes of operation, and this is important bestie, so pay attention:
- normal mode β the certificate given by the filename argument gets examined, and a warning email is issued to standard output if the certificate is outside its validity period, or approaching expiry. π
- quiet mode β literally no output at all, but the exit status still tells you everything. silent but iconic. π€«
also, a very real heads-up: if the certificate can't be found, or any errors happen whilst parsing it, the certificate is just ignored and no output is produced. not a drill, not a bug, that's just how she moves. π
β¨ OPTIONS β¨
--quiet,-qβ turns on quiet mode. no output is produced whether the certificate is expired or not. she's giving mystery, she's giving nothing, she's giving exit codes only. π«Ά--period days,-p daysβ tells her how many days out to start warning you. the default is30. and listen: 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. so like, the near-death ones always get flagged, no matter what you set. π--address address,-a addressβ the address used in the To field of the warning e-mail issued when quiet mode is not enabled. the default isroot. π--help,-hβ displays usage information. your "help me bestie" button. π
π DIAGNOSTICS π
the exit code is basically the vibe check for the certificate. here's the tea:
0β the certificate is outside its validity period, or approaching expiry. β°1β the certificate is inside its validity period, or could not be parsed. π§2β an invalid argument was passed. π©
so yeah, exit 0 means "uh oh she's expiring", not "all good". confusing? yes. iconic? also yes. don't shoot the messenger. π
π SEE ALSO π
π AUTHOR π
Joe Orton <jorton@redhat.com>
- Author
and that's the whole page, bestie!! πβ¨π this was certwatch from February 2019, page CERTWATCH(1) β mwah, go warn somebody about their certs, ily, bye! π¦πΈπ
π¦ where this page comes from
- epel 9: certwatch 1.3-1.el9 Β· GPL-2.0-or-later
- fedora 43: certwatch 1.2-19.fc43 Β· GPL-2.0-or-later
- fedora 43: certwatch 1.3-1.fc43 Β· GPL-2.0-or-later
- fedora 44: certwatch 1.2-21.fc44 Β· GPL-2.0-or-later
- fedora 44: certwatch 1.3-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms