Add certificate checks for create and update registrar commands (#837)

* Add certificatechecks for create and update registrar commands

* Add CertificateCheckerModule

* Remove commented out code

* Still tring to get dependency injection to work

* Get this actually working

* Add tests for multiple violations

* Small formatting fixes

* Rename configs and fix collectors

* Add checks for failover client certificate

* Fix formatting
This commit is contained in:
sarahcaseybot 2020-10-22 11:43:22 -04:00 committed by GitHub
parent 12ec54f56c
commit 96cb9abcf3
11 changed files with 463 additions and 19 deletions

View file

@ -53,7 +53,6 @@ public class CertificateChecker {
* );
* </pre>
*/
// TODO(sarahbot): Inject this.
public CertificateChecker(
ImmutableSortedMap<DateTime, Integer> maxValidityLengthSchedule,
int daysToExpiration,