This script enables checking of dates on a certificate. Usually tied together with some form of alerting when within a month ot week of renewal needs.
echo | openssl s_client -connect HOSTNAME:PORT 2>/dev/null | openssl x509 -noout -dates
This script enables checking of dates on a certificate. Usually tied together with some form of alerting when within a month ot week of renewal needs.
echo | openssl s_client -connect HOSTNAME:PORT 2>/dev/null | openssl x509 -noout -dates