We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa164d commit 618f727Copy full SHA for 618f727
certificates/certificates.go
@@ -270,7 +270,7 @@ func DeleteCertificates(certDir *paths.Path) {
270
certDir.Join("cert.cer").Remove()
271
}
272
273
-// isExpired checks if a certificate is expired
+// isExpired checks if a certificate is expired or about to expire (less than 1 month)
274
func isExpired() (bool, error) {
275
bound := time.Now().AddDate(0, 1, 0)
276
dateS, err := GetExpirationDate()
0 commit comments