The find used by cert-shifter checks for changes which occurred in the past 24 hours (1 d)
see https://github.com/dlangille/anvil/blob/master/cert-shifter#L31
DIRS=`${FIND} ${CERT_SRC} -mtime -1 -type d -d 1`
I had a power outage and the server did not come back up within that 1 day period.
I suspect the power outage occurred after the certs had been renewed, but before they were copied over to the destination.
I solved it by changing from -mtime 1 to -mtime 70
Why 70? Why so large? This thing takes a long time to surface. You wouldn't notice until cert renewal time comes around (these are valid for 90 days). When my Nagios check start saying < 28 days left.
The find used by cert-shifter checks for changes which occurred in the past 24 hours (1 d)
see https://github.com/dlangille/anvil/blob/master/cert-shifter#L31
I had a power outage and the server did not come back up within that 1 day period.
I suspect the power outage occurred after the certs had been renewed, but before they were copied over to the destination.
I solved it by changing from
-mtime 1to-mtime 70Why 70? Why so large? This thing takes a long time to surface. You wouldn't notice until cert renewal time comes around (these are valid for 90 days). When my Nagios check start saying < 28 days left.