I need script for file modify time check and if date older, file will be deleted and send report to my email : Read More
How to easily check whether the certificate has expired or not.
My bash command
You can use, all dates (creating and expiring):
openssl x509 -enddate -noout -in /etc/pki/tls/certs/localhost.crt