Hi @michaelmn, and welcome to the LE community forum
It seems that the renewals would be tied to the "custom" ACME client.
Is there any documentation or support for it?
If neither, then who obtained the current certs [and how]?
I don't have documentation on the "custom" ACME client. Why does renewing cert depend on the client ? I'd expect it would depend on Lets Encrypt since they generated certs in the first place.
Because it's the client software the obtains the cert--and "renewing" a cert is simply issuing a new one. Ordinarily, client software is set up in such a way that it automatically renews the cert when it's due (usually about 30 days before it expires).
With the expiration date coming up on August 14, how do I find out ahead of time that the cert-manager in Kubernetes already renewed the cert ?
Let's Encrypt sent me the email below about renewing the cert. Does that mean Let's Encrypt detected that the cert-manager in Kubernetes did not automatically renew the cert for some reason ?
A1. Renewals are normally scheduled 30 days in advance (of expiry date).
So... that would have been done on July 15th.
You can check what has been issued at:
A2. Not exactly.
It means that exact same set of name(s) on that cert hasn't been renewed.
It's sometimes possible that multiple certs have been issued that cover different (overlapping) sets of names. Only you can know for sure which certs are in use and which need to be renewed.
The notice is just that - a notice of a possible problem.
There is a solution of deleting the secret first and then the certificate. When cert-manger created the certificate again it issued a new one.
However, as mentioned in that doc, its problem is you will be a few seconds without a valid certificate. And we need to avoid that in production.
Since I have re-activated the AWS keys that were used with the existing certs, what is the solution to renew them without down time ?
For instance, where do I specify "renewBefore" to I trigger the cert-manager to automatically renew the cert before the expiration date ?
Also, when I run
kubectl get certs
it shows the secret age of my domain is 1year as shown below. Is that different from its expiration date of August 14 ? How do I check the expiration date of my cert to see if it was renew ?
NAME READY SECRET AGE
api.ease-staging.sendgrid.tech True api.ease-staging.sendgrid.tech 1y
To check a certificate expiry date, the easiest method is to browse to the site using your normal web browser and click the padlock icon to see the certificate info (including expiry date). There are many other methods.