blob: 79dce74ec2125d93a83cdb2e5ec7f02abcfdcfa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# ssl_expire_notifier
Simple PHP script that checks SSL certificates expiration dates for a list of given domains
and notifies you via Telegram if some of them are about to expire.
Supposed to be run by cron daily or so.
## Configuration
Config file is expected to be at `~/.config/ssl_expire_notifier.ini`.
```ini
telegram_enabled = 1
telegram_token = "your_bot_token"
telegram_chat_id = "your_chat_id"
verbose = 1
warn_days = 60
error_days = 30
hosts[] = example.org
hosts[] = mail.example.com:993
```
## License
MIT
|