This is wrong paramter
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
I tried to use the below command in order to renew certificate but i have an error (The request contains no certificate template information)
certreq -Enroll -cert certificateSerialNumber -machine Renew
How can i solve this issue?
This is wrong paramter
Ok, I've just checked the certreq
docs, it seems that you can't renew the certificate if it does not contain certificate template information inside. You will have to request brand new certificate based on certificate template.
Hello @Moonlight ,
Thank you for posting here.
Based on the description, I did a test in my lab.
Renew machine certificate:
certreq -enroll -machine -cert <certificateSerialNumber> renew
For example:
certreq -enroll -machine -cert 7a000000aa9a6f2b39229c893d0001000000aa renew
2. Click Next button.
3. Click Enroll button.
4. The certificate is renewed successfully.
Renew user certificate:
certreq -enroll -user -cert <certificateSerialNumber> renew
For example:
certreq -enroll -user -cert 7a000000ae610e95b6350f629f0001000000ae renew
2. Check if it is the certificate we want to renew, If so, click Next button and Enroll button.
3. The certificate is renewed successfully.
Tips:
Hope the information is helpful. If anything is unclear, please feel free to let us know.
For more information we can refer to the link below.
certreq
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certreq_1
Best Regards,
Daisy Zhou