Re:Tell HN: Thanks to thehodge and littlewarden.com, this si...
by geofft on Thursday September 09, 2021 @02:08PM
(#28472742)
You can do this with the following crappy cronjob (monitoring the machine where your cronjobs run is left as an exercise to the reader / is why you'd want to pay someone to deal with it):
Assuming your system has local mail (via the sendmail command) working, this will send you an email if your certificate expires in the next 864000 seconds = 10 days. If you have an MTA installed but don't use local mail on the machine, you can use the MAILTO feature to send it to your normal email address.
[ Parent
| on HN ]
Re:Tell HN: Thanks to thehodge and littlewarden.com, this si...
by atok1 on Thursday September 09, 2021 @04:28PM
(#28474276)
That's pretty useful, thanks.
I can setup a monitor (FOSS) for the computer that is doing the site monitoring, since I only use open source software that I can inspect.
Re:Tell HN: Thanks to thehodge and littlewarden.com, this si...
by oars on Friday September 10, 2021 @05:33AM
(#28479380)
Great one liner to monitor expiring certs, thanks.