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
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
chkdaemon="sendmail" ; ! pgrep $chkdaemon >/dev/null && echo "$chkdaemon not running" || echo "$chkdaemon is running"
I will be sharing more useful commands. Thank you and have fun.