Hi;
Out of interest, what happens when a certificate is renewed, does the old one get revoked automatically? I guess, I am trying to see if a certificate renewal could be a better alternative to revoking then renewing.
Kindly
Wasfi
Hi;
Out of interest, what happens when a certificate is renewed, does the old one get revoked automatically? I guess, I am trying to see if a certificate renewal could be a better alternative to revoking then renewing.
Kindly
Wasfi
A "renewal" certificate is just a convenient term for a new certificate that happens to share the same set of SANs as a previously-issued certificate. Beyond labeling that relationship, there is no operational correspondence between the "original" and "renewed" certificates.
So no, renewing a cert doesn't revoke the old one, and you shouldn't revoke the old one--just let it expire. Only revoke a cert if you suspect its private key has been compromised.
The animated post I shared is a colorful version of exactly what @danb35 has correctly advised.
But how can renew and let the old one expire as the old one will not exist. The new one simple overwrite it as far as I know.
The old certificate will ALWAYS exist, even after you've deleted it locally.
Once you've destroyed a certificate's private key, that certificate will continue to "exist" (even if you delete it), but it won't ever be usable again.
I'm sure it depends on the client, but with the most popular ones (certbot, acme.sh, etc.), this isn't true. A new cert is issued, but it doesn't overwrite the old one. And if the old one were overwritten, what then? It can't be used again, so (once again) there's no reason to revoke it.
Again, the only reason to revoke a cert is if you suspect the private key has been compromised.
And to complete this thread in total, in addition to:
and
There are 2 (3?) ways to revoke a certificate:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.