Do you know when your domains and SSL certificates expire?
- Install dependencies by running
composer install
. - Update the array of domains in the
./config.php
file. - Run the checks using the command below.
The following command will check each domains whois expiration, and if applicable the certificate expiration.
php -f ./check.php
Note: By default whois and certificate data is cached for 24 hours.
Downloading domain certificates uses the local openssl s_client
command.
Reading the downloaded certificates also uses the openssl_x509_parse
function which means PHP should be compiled with the --with-openssl
flag.
Build by Joel Vardy.