You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
# Fixed script to throw proper critical error if a cert cannot be loaded by openssl.
# v1.0 - 20 Mar 2012
# Initial release.
# This script checks the expiry dates of all certificates in the /etc/certificates directory, and returns a warning if needed based on your defined number of days.
# Takes 1 argument - the minimum number of days between today and cert expiry to throw a warning:
#
# check_certificate_expiry.sh 7
# Warns if a certificate is set to expire in the next 7 days.