certutil -store my
The command above can be used to get the required serial number for the cert needing to be renewed. This should show the machine store, if you need certs displayed for the user store remove the “my” keyword.
certreq -enroll -machine -q -PolicyServer * -cert <serial#> renew reusekeys
If you get the following error:
Ensure the machine account has enroll permission on the published certificate template. For step by step guidance follow this blog post by itexperince.
afterwards it should succeed.
*NOTE* this option archives the old certificate, and generates a new one with a new expiration date, with the same key, with a new serial number. How services that are bound to the certificate update themselves, I’m not sure for this test I did not have the certificate bound to any particular services. Verifying this actually the web server using the cert did automatically bind to the new cert, I’d still recommend you verify where the certificate is being used and ensure those services are update/restarted accordingly to apply the changes.