From Bit Twister@2:250/1 to All on Mon Sep 14 04:12:02 2020
I thought it would be handy to know about expired certificates or
any certificates that may expire next month, or worse, have a problem
being read by openssl.
----8<----8<----8<----8<--cut below this line --8<----8<----8<----8<----8< #!/bin/bash #********************************************************************
#*
#* ch_4_expired_certs - Check for expired certificates or
#* certificates that will expire next month
#* or certs that were not readable by openssl
#*
#* Usually called from cron monthly.
#*
#* This is free software released to public domain.
#* Do with it whatever you want.
#*
#********************************************************************
_exe=$0
set -u # Show usage of unset variables as an error to help catch typos.