check the expiry days of a ssl certificate bash script This script gives the amount of days before a ssl-certificate will expire. Just run it like ./check_ssl.sh domain.tld