Applies to: Windows Server 2019, Windows Server 2022, and Windows Server 2025.
A dedicated template standardizes key size, subject handling, intended usage, validity, and enrollment permissions for IIS servers.
Prerequisites
- Administrative access to the affected servers.
- A verified backup and approved maintenance window.
- A pilot system for testing before production rollout.
Step-by-step procedure
- Duplicate the current Web Server template.
- Assign a unique versioned display name.
- Configure cryptography, subject source, validity, and Server Authentication EKU.
- Grant enrollment to a dedicated server group and publish the template.
Commands
certutil -CATemplates
Get-CATemplate | Select Name,DisplayName
certutil -templateVerification
An authorized pilot server can request the template and the resulting certificate contains the intended SAN, key length, and EKU.
Rollback
Unpublish the template and remove enrollment permissions; revoke test certificates if policy requires it.
Security and operations
- Use least privilege and document all production changes.
- Replace example addresses and names with approved values.
- Review relevant Windows event logs after implementation.
Design the template for a specific enrollment workflow
Duplicate a suitable template rather than changing a broadly used default. Give the new template a clear name, document its intended server population and set compatibility, key properties and intended purposes according to the actual application. A higher compatibility setting can exclude older clients or CAs.
Decide who supplies the subject and DNS alternative names. Allowing a requester to supply arbitrary names can be dangerous when combined with broad enrollment permissions and authentication purposes. Restrict the authorized requesting group and review the complete template configuration rather than judging it by its display name.
Publishing the template on the issuing CA and granting Enroll permission are distinct tasks. After publication, request a pilot certificate and inspect the chain, private-key availability, DNS names and intended purpose. Confirm that the relying clients trust the issuing hierarchy and can reach the revocation locations.
Keep a record of the original template and issued test certificates. Removing a template from a CA stops new enrollment through that publication; it does not automatically revoke certificates already issued from it. If a template was exposed incorrectly, assess the issued certificates and follow the CA’s incident and revocation process.
Related resources
Canadian Windows VPS and RDS hosting is available from managed Windows VPS hosting. Also review the official Microsoft Windows Server documentation.
Establishing an AD-integrated root certification authority deliberately
Establish an enterprise root CA only after deciding trust, keys, publication and ownership, then validate separate issuance and revocation…
Separating an offline root from day-to-day certificate issuance
Separate offline root signing from enterprise issuance, prepare the standalone trust anchor, review the subordinate request, validate…
Designing an AD CS template with a narrow enrollment boundary
Design a restricted AD CS template as an issuance policy, separate AD creation from CA enablement, validate subject and key controls, and…
Rolling out certificate auto-enrollment with a measurable pilot
Roll out certificate auto-enrollment through a narrow user or computer pilot, align template and GPO eligibility, inspect issued keys and…
Enrolling an enterprise certificate for the actual web-service name
Enroll a machine-held enterprise TLS certificate for the real service DNS names, respect template approval and key policy, inspect the…