expiration-check/README.md
Simon Vieille 63310a2f2e
All checks were successful
ci/woodpecker/push/build Pipeline was successful
fix descriptions
2024-07-24 09:14:35 +02:00

1.2 KiB

Expiration check

Checks the expiration dates of domains and certificates.

Domain expiration check uses RDAP and fallback with a whois request.

Usage

Go to releases and download the latest version.

$ expiration-check domains -d example.com -d 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 |
+-------------------+------+---------------------+

$ expiration-check certificates -d example.com -d other-example.com -d mail.example.com:993
+-------------------+------+---------------------+
| DOMAIN            | DAYS | DATE                |
+-------------------+------+---------------------+
| example.com       |  XX  | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX  | YYYY-MM-DD HH:MM:SS |
| mail.example.com  | XXX  | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+

You can specify an ouput format using --format or -f:

  • table (default)
  • json
  • csv
  • tsv
  • html
  • markdown