Version 3 (CNG) templates don't appear in Windows Server Certificate Services Web Enrollment
This article helps fix an issue where the CNG templates don't appear in the Advanced Certificate Request template pulldown menu.
Original KB number: 2015796
Symptoms
When using the certificate web enrollment page on a Windows Server, the new Version 3, also known as CNG templates, don't appear in the Advanced Certificate Request template pulldown menu. As a result, web enrollment using a CNG template can't take place via the web enrollment method.
When this occurs, certificates can be requested and enrolled in successfully using the same templates but other enrollment methods. In other words, you can successfully request a certificate from that template using the certificates MMC snap-in, script, autoenrollment, or exported request. The issue only occurs with web enrollment not allowing the Version 3 template from being available to select.
Frequent other causes of not being able to blanket request a certificate may be that the server isn't an Enterprise server, or the requestor doesn't have Read Allow and Request Allow permissions on the template in Active Directory.
Cause
This behavior is by design. Version 3 templates have extra request options and requirements that the certificate services web enrollment method can't fulfill. For more information about Certificate template, see Certificate templates concepts.
Resolution
Use a different request method for these certificates. Aside from web enrollment, all other request methods work in this scenario.
More information
An alternative, which shouldn't be attempted in production for customers without extensive testing in a test environment, is available that allows the version 3 templates to appear in the web enrollment default pages. The reason it's not recommended is that the web enrollment pages, again, may not contain the code necessary for the certificate to populate all needed data, and so the result may be a problematic certificate. Make sure to keep that in mind when considering doing the steps below. This option is to alter the msPKI-Template-Schema-Version from 3 to 2.
In addition, altering the msPKI-Template-Schema-Version attribute results in a reload of the template cache and CSP cache available.
On your domain controller go to Start, Run, type AdsiEdit.msc and press Enter.
In AdsiEdit.msc right-click on the ADSIEDIT node in the left-hand pane and select Connect To in the menu that appears.
In the Connection Settings dialog, select Configuration in the Connection Point section and select OK.
Expand the nodes in the left-hand pane until you've drilled down to your Templates store (CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,DC=,DC=).
Double-click the Version 3 template you would like to have appear in the web enrollment page.
Scroll down and select the msPKI-Template-Schema-Version attribute.
Double-click the msPKI-Template-Schema-Version attribute and change the value from 3 to 2 and select OK.
Select Apply. This updates the template and CSP list. Keep this in mind if you use 3rd-party CSPs in your environment.
Go to your web enrollment page (if ran from your CA server) and attempt to enroll the certificate using an advanced request.