Hey Luna
Thanks for posting ,
The certificate templates in active directory stored under Adsiedit configuration:
CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration,DC=contoso,DC=com
*Note: don't touch anything there or change anything! be careful.