Feature #1744

Only display valid certificates by default

Added by Greg Sutcliffe 11 months ago.

Status:New Start:07/11/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-
Backlog:No Difficulity:
Votes: 0

Description

On my test foreman box, I build a lot of test hosts. Since I use UUIDs, a new cert is generated every time. This means I have about 90 revoked certs and about 10 valid ones, making the certificates page (More->Smart Proxies->Certificates) very hard to parse.

I think by default we should only show valid certificates to the user, and display pending/revoked certs if asked for by the state filter.

A one-line patch to achieve this is attached. Existing tests pass with it, not sure if we need new ones.

certificates.patch (1.1 KB) Greg Sutcliffe, 07/11/2012 10:08 am

Also available in: Atom PDF