freeipa / freeipa-healthcheck

Check the health of a freeIPA installation
GNU General Public License v3.0
50 stars 27 forks source link

RFE: test CRL publishing is working #329

Open yrro opened 5 months ago

yrro commented 5 months ago

Unless I've missed something there doesn't seem to be a health check for CRL publishing.

This would:

I'll implement if you think that sounds useful.

rcritten commented 5 months ago

I guess I'd want to see what the outcome of https://pagure.io/freeipa/issue/9505 is first. If there is or can be some fundamental issue in generating the CRL then it's something we should check.

rcritten commented 5 months ago

The findings are that we need a check to ensure that the CRL generator server either has ca.certStatusUpdateInterval not present or greater than zero. The default is 600 seconds. If it is 0 then the cert status is not updated on this server. I imagine but didn't validate that a negative value would not be ideal.

rcritten commented 5 months ago

Oh and additionally require that ca.certStatusUpdateInterval=0 on non-CRL generators. The reason being avoiding replication conflicts.