Closed Bug 1402968 Opened 8 years ago Closed 8 years ago

autocert: add --within param to ls to list certs that are expiring within a given timeframe

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sidler, Assigned: sidler)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/5402])

No description provided.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/5402]
Spent 3 hours looking into this. The timestamp and expiry are in int form and the within value is in string of days. All three need to be converted to datetime objects and timespan.
https://github.com/mozilla-it/autocert/tree/switch-expiry-timestamp-to-datetime-add-within Spent several hours staging changing expiry and timestamp to datetime. Also wrote a script 'convert' to update existing cert tarbundles to use datetime for expiry and timestamp.
https://github.com/mozilla-it/autocert/tree/implement-within-for-ls Finished adding support for 'autocert ls --within' and this allows us to list the certs that are expiring within X number of days.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.