mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
23 lines
925 B
Diff
23 lines
925 B
Diff
diff --git a/crl/updater/updater.go b/crl/updater/updater.go
|
|
index 2188cdc4e..760580c4e 100644
|
|
--- a/crl/updater/updater.go
|
|
+++ b/crl/updater/updater.go
|
|
@@ -73,7 +73,7 @@ func NewUpdater(
|
|
return nil, fmt.Errorf("must have positive number of shards, got: %d", numShards)
|
|
}
|
|
|
|
- if updatePeriod >= 24*time.Hour {
|
|
+ if updatePeriod > 24*time.Hour {
|
|
return nil, fmt.Errorf("must update CRLs at least every 24 hours, got: %s", updatePeriod)
|
|
}
|
|
|
|
@@ -228,7 +228,7 @@ func (cu *crlUpdater) updateShard(ctx context.Context, atTime time.Time, issuerN
|
|
crlEntries = append(crlEntries, entry)
|
|
}
|
|
|
|
- cu.log.Infof("Queried SA for CRL shard: id=[%s] shardIdx=[%d] numEntries=[%d]", crlID, shardIdx, len(crlEntries))
|
|
+ cu.log.Debugf("Queried SA for CRL shard: id=[%s] shardIdx=[%d] numEntries=[%d]", crlID, shardIdx, len(crlEntries))
|
|
|
|
// Send the full list of CRL Entries to the CA.
|
|
caStream, err := cu.ca.GenerateCRL(ctx)
|