1
2
Derivar 0
Ir para o ficheiro
Simon Vieille 53be613099 Merge branch 'master' into develop 2023-11-03 13:41:03 +01:00
lib update check_ssl_cert 2023-11-03 13:40:41 +01:00
src/Deblan update parser with new version of check_ssl_cert 2023-11-03 13:40:53 +01:00
.gitignore init 2019-04-24 10:47:44 +02:00
.gitmodules add https-certificate check - renames domains check command 2019-12-09 12:51:46 +01:00
README.md add doc 2020-02-24 12:03:31 +01:00
check add https-certificate check - renames domains check command 2019-12-09 12:51:46 +01:00
composer.json add Process component 2019-04-24 12:26:25 +02:00

README.md

Domain expiration

Checks the expiration dates of domains et HTTPS certificates.

Installation and usage

PHP 7.3, composer, whois and openssl required.

git clone --recurse-submodules https://gitnet.fr/deblan/domain-expiration.git
cd domain-expiration
composer install
$ php7.3 ./check domains example.com other-example.com
+-------------------+------+---------------------+
| Domain            | Days | Date                |
+-------------------+------+---------------------+
| example.com       | XX   | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX  | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+
$ php7.3 ./check https-certificates example.com other-example.com
+-------------------+------+---------------------+
| Domain            | Days | Date                |
+-------------------+------+---------------------+
| example.com       | XX   | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX  | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+

You are able specify output options:

  • --table (-t): output is a table (default)
    • --short (-s): removes borders
    • --no-header: removes headers
  • --json (-j): output is a json
  • --wait (-w): specifiy the number of seconds between each request (defaut: 0)