commit | 0e4becf93e416602ac28708cc8fab681fe79fdc7 | [log] [tgz] |
---|---|---|
author | Alex Vaghin <ddos@google.com> | Tue Apr 25 10:32:32 2017 +0200 |
committer | Alex Vaghin <ddos@google.com> | Tue Apr 25 15:40:03 2017 +0000 |
tree | 9fb53db461575cecd18152783844eda2d872578c | |
parent | 2b0eeecfe7b67ec0fa096091d2fe37e8fd4db78c [diff] |
acme/autocert: treat invalid cert as a cache miss A cached cert data may be corrupted or simply contain an expired certificate, which results in GetCertificate returning an error. This change makes the Manager ignore those invalid and expired cache entries, treating them as nonexistent. Fixes golang/go#20035. Change-Id: I5345291ecb1aab1cf19671cf0a383135c7102038 Reviewed-on: https://go-review.googlesource.com/41690 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>