Hello AndyMeboldt,
Thank you for posting in our Q&A forum.
Here are the answers for your references.
Q1: Is there a best-practice for all the certificate template settings? Which expiration should I use for which template?
Webserver - 1 year, user certificate - 2 year?
A1: we can set the validity period on certificate template depending on your requirements.
However, the issued certificate validity period depends upon least value of below.
1)The expiry date of issuing CA certificate.
2)The validity period that is defined in the registry affects all certificates that are issued by Stand-alone and
Enterprise CA. For Enterprise CA, the default registry setting is two years.
For Stand-alone CA, the default registry setting is one year.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSvc\Configuration\<CAName>\ValidityPeriodUnits
3)The template validity period in case of Enterprise (AD integrated) CA.
For example:
The validity period of issuing CA certificate is 10 years, but the remaining time for issuing CA certificate is one month;
The validity period on one certificate template is 5 years;
The validity period that is defined in the registry affects all certificates that are issued by Enterprise CA is 6 years;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSvc\Configuration\<CAName>\ValidityPeriodUnits
If we enroll one certificate using the certificate template above, this issued certificate validity period is only one month.
Or if we renew other certificates (assume validity period of certificate template is at least one year ), and validity period of the renewed certificates is one month.
Q2: Is there any official documentation from microsoft or the browser-forum where all the topics are mentioned?
A2: No, there is no such document.
Q3: How do other handles the certificate replacement?
A3: Usually, if we have internal CA server (with AD CS role), we can renew certificates issued by CA server based on the following three methods:
1.Renew certificates by right clicking certificate\All Tasks\renew certificate with new key or advanced operations\renew this certificate with the same key.
2.Renew certificate with GPO, if we configure autoenroll permission on certificate template and configure GPO with autoenroll setting
Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies >Certificates Services Client – Auto-Enrollment
Or
User Configuration > Policies > Windows Settings > Security Settings >Public Key Policies > Certificate Services Client – Auto-Enrollment
3.Request new certificate and replace the old certificates using new certificates.
References:
CA Validity Period Extension and CA Certificate Renewal Process
https://www.experts-exchange.com/articles/32336/CA-Validity-Period-Extension-and-CA-Certificate-Renewal-Process.html
Recommendations for PKI Key Lengths and Validity Periods with Configuration Manager
https://techcommunity.microsoft.com/t5/configuration-manager-archive/recommendations-for-pki-key-lengths-and-validity-periods-with/ba-p/272758
Best Regards,
Daisy Zhou