- Check how many and what certificate is about to expire by given limit of time
- Sorted list of host by expiration date
- Schedule update
- Provide API endpoint
All configuration store in config.json file
- hosts : lists of host we want to monitor
- scheduleTime: cronjob
e.g. "0 0 * * * *" - expireLimit: limit of expiration days
e.g. 30 > want to check for cert that's expire in 30 days
A sorted list of host information and expiration date
show what certificate is about to expire
{
number: 3,
items: [
{
host: 'a.com',
from: DATE,
to: DATE,
expire: 1
},
{
host: 'b.com',
from: DATE,
to: DATE,
expire: 2
},
...
]
}