No certificate template information #94
-
|
I recently started testing TameMyCerts but started noticing occasional Event 10 with the text: I know from documentation that TameMyCerts refreshes its template cache every 5 minutes (assuming this depends on the flow of certificate requests), so these messages tend to go away after the 5 minute mark. ADCS gave us no other indication of this kind of problem before installing TameMyCerts. We ran procmon to see if any processes were messing up the template cache and we do see that, what appears to be during the cache update, that the cache is cleared but is repopulated within milliseconds. Any help or suggestions would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
TMC needs information on template settings, which are stored in the Configuration partition of the Forest. However, this Registry path will only be present if a certain Group Policy (“Update certificates that use certificates templates”) is applied to the machine hosting the Certification Authority. This Setting sets the 0x1 bit to the “AEPolicy” key under HKLM:\Software\Policies\Microsoft\Cryptography\AutoEnrollment. Can you ensure that the required data is available under HKLM:\SOFTWARE\Microsoft\Cryptography\CertificateTemplateCache? Might it be that there was also a GPO change that might have disabled the “AEPolicy” Key? Does this error occur on a regular basis? |
Beta Was this translation helpful? Give feedback.
Yes I can confirm the race condition. I've refactored the code in #96 to skip in such a case and re-use the cache. Happy to hear your feedback.