Good afternoon all,
This question relates to a Windows Server 2012R2 environment. The intention is to roll out for a client, but at the moment I'm simply trying to get this to work in a lab setup consisting of fresh installs of a DC, a CA and a web-server as a CDP.
I have a scenario where a computer certificate template's Subject Name is set to Supply in the request. I've therefore ensured that the template requires aCA certificate manager approval before issuance.
I'd like the certificate to reenroll using a Valid existing certificate, so I set that on the Issuance Requirements tab. I also checkedUse subject information from existing certificates for autoenrollment renewal requestson the Subject Name tab. Finally, I've made sure that Domain Computers have Read, Enroll and Autoenroll permissions on the
template.
I've configured the Default Domain Policy with Certificate Service Client - Auto-Enrollment Settings to enable Enroll new certificates, renew expired certificates, process pending certificate requests and
remove revoked certificates and Update and manage certificates that use certificate templates from Active Directory and both are visible when I rungpresult /Z.
I can request a new certificate from the end-entity (the web-server in my test environment) and as expected, I have to approve at the CA. Once that's done, either a long wait or agpupdate /force will drag the certificate to the server.
If I now wait until the certificate expires (a few hours as I've set it to be short lived for testing purposes) I see event ID 1003 (only) in my logs telling me that the certificate is about to expire, but no event ID 1006/5/4 or a replacement cert.
On the CA, I find that the request is sat in the Pending Request queue. If I issue the certificate and run gpupdate /force again on the web-server, everything works and the certificate is replaced.
If I select the certificate at the web-server and choose to Renew this certificate with the same key... advanced option, then I instantly get a replacement certificate without it being placed in the CA's Pending Requests
queue. I can also push a new cert from the Certificate Templates Console by selecting the template and clicking onReenroll All Certificate Holders; again it happens instantaneously without a visit to thePending Request queue.
But as I said, if I leave it to it's own devices, the web-server certificate expires while the replacement is sat in thePending Queue.
My understanding was that if Valid existing certificate is selected on theIssuance Requirements tab, then it should automatically renew the certificate without human intervention even thoughCA certificate manager approval is checked.
I've read:
- How Autoenrollment Works
- Certificate Enrollment in Windows XP
- Troubleshooting Autoenrollment
- Server 2012 PKI Key Based Renewal Explained
(I'd hyperlink all the above, but this forum won't let me - they are all TechNet articles)
From my understanding, it should work; but it isn't. Have I missed something obvious?