Trivy reports an X.509 certificate whose expiry timestamp, notAfter, is before the time the findings are evaluated. The comparison uses the full timestamp, not just its calendar date.
Clients that require a currently valid certificate can reject an expired certificate, causing failed connections or other service disruptions. An expired certificate found in an image may also be an unused copy, so review where it is deployed before deciding on remediation.
The check covers certificates in system trust stores as well as application files. It does not establish whether an application uses or trusts a certificate.
You can suppress selected findings using CRYPTO-0004 and optional file paths in the crypto section of .trivyignore.yaml. Specify the file with --ignorefile .trivyignore.yaml; the certificates remain in the inventory.
Certificates with an unknown expiry timestamp do not produce a finding. This rule does not report certificates that are merely close to expiry, check the notBefore timestamp, or perform revocation or certificate-chain validation. Its result can change as time passes even when the scanned image is unchanged.