(Re-)Installing the Microsoft Standard Certificate Templates

There may be cases where it is necessary to install the standard Microsoft certificate templates before installing the first Active Directory integrated certification authority (Enterprise Certification Authority), or to reinstall the templates, for example because they have been corrupted or otherwise modified.

The following standard certificate templates are defined:

Object nameDisplay name (English)Display name (German)
AdministratorAdministratorAdministrator
CARoot Certification AuthorityStammzertifizierungsstelle
CAExchangeCA ExchangeZertifizierungsstellenaustausch
CEPEncryptionCEP EncryptionCEP-Verschlüsselung
ClientAuthAuthenticated SessionAuthentifizierte Sitzung
CodeSigningCode SigningCodesignatur
CrossCACross Certification AuthorityÜbergreifende Zertifizierungsstelle
CTLSigningTrust List SigningVertrauenslistensignatur
DirectoryEmailReplicationDirectory Email ReplicationVerzeichnis-E-Mail-Replikation
DomainControllerDomain ControllerDomänencontroller
DomainControllerAuthenticationDomain Controller AuthenticationDomänencontrollerauthentifizierung
EFSBasic EFSBasis-EFS
EFSRecoveryEFS Recovery AgentEFS-Wiederherstellungsagent
EnrollmentAgentEnrollment AgentRegistrierungs-Agent
EnrollmentAgentOfflineExchange Enrollment Agent (Offline request)Exchange Enrollment Agent (Offlineanforderung)
ExchangeUserExchange UserExchange-Benutzer
ExchangeUserSignatureExchange User Signature
IPSECIntermediateOfflineIPSec (Offline Request)IPSec (Offlineanforderung)
IPSECIntermediateOnlineIPSecIPSec
KerberosAuthenticationKerberos AuthenticationKerberos-Authentifizierung
KeyRecoveryAgentKey Recovery AgentSchlüsselwiederherstellungs-Agent
MachineComputerComputer
MachineEnrollmentAgentEnrollment Agent (Computer)Registrierungs-Agent (Computer)
OCSPResponseSigningOCSP Response SigningOCSP-Antwortsignatur
OfflineRouterRouter (Offline Request)Router (Offlineanforderung)
RASandIASServerRAS and IAS ServerRAS- und IAS-Server
SmartcardLogonSmartcard LogonSmartcard-Anmeldung
SmartcardUserSmartcard UserSmartcard-Benutzer
SubCASubordinate Certification AuthorityUntergeordnete Zertifizierungsstelle
UserUserBenutzer
UserSignatureUser Signature OnlyNur Benutzersignatur
WebServerWeb ServerWebserver
WorkstationWorkstation AuthenticationArbeitsstationsauthentifizierung

Implementation

Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the application of rule sets to realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem, has already proven itself in countless companies around the world and is available under a free license. It can be downloaded via GitHub and used free of charge. Professional maintenance is also offered.

Reinstalling the certificate templates means deleting them and then creating them again. To delete them, you must have Enterprise Administrator permissions.

The deletion itself is done with ADSI Edit (adsiedit.msc).

ADSI Edit: context menu of the "ADSI Edit" node with "Connect to..."

You connect to the Configuration partition.

Dialog "Connection Settings": "Select a well known Naming Context" set to "Configuration" (marked yellow)

The certificate templates are located at Services – Public Key Services…

ADSI Edit: tree under CN=Services, CN=Public Key Services, with the containers CN=AIA, CN=CDP and CN=Certificate Templates on the right

...below CN=Certificate Templates. Here you can select all or individual certificate templates and delete them by right-clicking.

ADSI Edit: selected templates in the container CN=Certificate Templates, context menu with "Delete" (marked yellow)

To reinstall the default certificate templates, there is a corresponding certutil command:

certutil -installdefaulttemplates

Command prompt: certutil -installdefaulttemplates reports "CertUtil: -InstallDefaultTemplates command completed successfully."

Please note that the command must be executed with Enterprise Administrator privileges.

External sources