main: adding too-soon remote
to check a remote hosts cert
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
01e8a6e859
commit
be72e38bfc
2 changed files with 90 additions and 4 deletions
16
README.md
16
README.md
|
@ -41,6 +41,22 @@ DEBU[0000] "letsencrypt/live/example.com-0007/fullchain.pem" : [example.com]
|
|||
|
||||
```
|
||||
|
||||
Likewise, you can check the expiration of a remote host with the `remote` command:
|
||||
|
||||
```shell
|
||||
vbatts@jungle:~$ too-soon -D remote example.com
|
||||
DEBU[0000] server: example.com
|
||||
DEBU[0000] version: 772
|
||||
DEBU[0000] -- cert serial: 498c7524e0cbd9f3fba887d6b7bba9dacac
|
||||
DEBU[0000] "example.com:443"(498c7524e0cbd9f3fba887d6b7bba9dacac) : 2025-04-06 18:47:55 +0000 UTC
|
||||
DEBU[0000] "example.com:443"(498c7524e0cbd9f3fba887d6b7bba9dacac) : [example.com]
|
||||
DEBU[0000] -- cert serial: 838f6c63ceb1398c6206628315c9fdde
|
||||
DEBU[0000] -- cert: skipping as there are no DNS names
|
||||
DEBU[0000] -- cert serial: 498c7524e0cbd9f3fba887d6b7bba9dacac
|
||||
DEBU[0000] "example.com:443"(498c7524e0cbd9f3fba887d6b7bba9dacac) : 2025-04-06 18:47:55 +0000 UTC
|
||||
DEBU[0000] "example.com:443"(498c7524e0cbd9f3fba887d6b7bba9dacac) : [example.com]
|
||||
```
|
||||
|
||||
## Combo
|
||||
|
||||
Whether you use a cronjob or a systemd timer, you can chain this command to a daily/weekly job to check an email yourself:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue