Windows Server 2012 – Setting Certificate Template Validity Period in ADCS

active-directory-adcswindows-server-2012

How can I set in ADCS the validity period for certificates which are issued by my sub-CA based on a Computer certificate template? Right now, my certificates are issued for one year only.

If I open the properties of the certificate template, it only shows some basic info and nothing can be changed.

Best Answer

A certificate is issued for the lower of either:

  • The CA's ValidityPeriod and ValidityPeriodUnit registry values, or
  • The value in the template.

As the Computer template is version 1 schema, you cannot change its validity. However, it's considered wiser to copy the template and use the copy for enrollments. When you copy, you can set additional values and the schema will be upgraded accordingly. That is, you'll end up with a version 2, 3, or 4 schema template. That's not a problem unless you're using a really old version of Windows.