You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Vieille c13d3953b5
doc
3 kuukautta sitten
lib add https-certificate check - renames domains check command 3 kuukautta sitten
src/Deblan doc 3 kuukautta sitten
.gitignore init 11 kuukautta sitten
.gitmodules add https-certificate check - renames domains check command 3 kuukautta sitten
README.md add https-certificate check - renames domains check command 3 kuukautta sitten
check add https-certificate check - renames domains check command 3 kuukautta sitten
composer.json add Process component 11 kuukautta sitten

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)