# Which cert-manager metric holds the Unix time at which a Certificate's current X.509 certificate expires?

cert-manager, Easy (Beginner), Troubleshooting. https://k8wiz.com/uquiz/which-cert-manager-metric-holds-the-unix-time-at-which-a-certificates-current-x509-certificate-expires

- A. certmanager_certificate_renewal_timestamp_seconds
- B. certmanager_certificate_not_before_timestamp_seconds
- C. certmanager_certificate_expiration_timestamp_seconds
- D. certmanager_certificate_ready_timestamp_seconds

**Answer:** certmanager_certificate_expiration_timestamp_seconds

**Explanation:** certmanager_certificate_expiration_timestamp_seconds reports the Certificate's status.notAfter as Unix time, so subtracting time() gives the time left before expiry. The renewal metric reports status.renewalTime, which is when cert-manager plans to renew, usually well before expiry.
