openSUSE / cepces

cepces is an application for enrolling certificates through CEP and CES.
GNU General Public License v3.0
30 stars 21 forks source link

added polling_interval for manually approved certificates #5

Closed randomizer3000 closed 2 years ago

randomizer3000 commented 2 years ago

certmonger by default rechecks if a certificate has been issued every 7 days (doesnt seem user configurable from their documentation), this is a bit long and it would be nice if this was a configurable value. This PR looks to implement a setting called poll_interval which makes use of the certmonger exit status 5. Default for this PR has been set at 1 hour.

--------- secton from https://pagure.io/certmonger/blob/master/f/doc/helpers.txt

dmulder commented 2 years ago

@randomizer3000 this looks good to me, but could you possibly add a test for this?