diff --git a/authority/provisioner/keystore.go b/authority/provisioner/keystore.go index 2c03b7ba..2f11114a 100644 --- a/authority/provisioner/keystore.go +++ b/authority/provisioner/keystore.go @@ -131,5 +131,5 @@ func getCacheJitter(age time.Duration) time.Duration { } func getExpirationTime(age time.Duration) time.Time { - return time.Now().Round(time.Second).Add(age) + return time.Now().Truncate(time.Second).Add(age) }