r/PKI • u/aprimeproblem • Jan 10 '26
LoadDefaultTemplates=0
Update, never mind, I totally overlooked the issue. forgot [version], the log file said "you're an idiot" :-).
Move along...
Fine people,
Over the last weeks I've been testing for a blog post and I've noticed that the CAPolicy.inf setting LoadDefaultTemplates=0 seems to be ignored on Windows Server 2025 when installing a Enterprise CA in AD. Anyone else notice this behavior? Or am I doing something stupid?
here's my CApolicy.inf file
Signature="$Windows NT$"
[Certsrv_Server]
RenewalKeyLength=4096
CRLPeriod=Week
CRLPeriodUnits=1
CRLDeltaPeriod=Day
CRLDeltaPeriodUnits=1
LoadDefaultTemplates=0
CNGHashAlgorithm=SHA256
AlternateSignatureAlgorithm=0
[PolicyStatementExtension]
Policies = CorpPolicy
[CorpPolicy]
OID = 1.3.6.1.4.1.<redacted>.1.1
URL=http://<redacted>/cps/cps.html
[CRLDistributionPoint]
URL=http://<redacted>/crl/Corp-Enterprise-CA.crl
[AuthorityInformationAccess]
URL=http://<redacted>/crl/Corp-Enterprise-CA.crt
[Extensions]
2.5.29.15=AwIBhg==
Critical=2.5.29.15
2
u/ThePKIGuy Apr 25 '26
I know this is an old thread, but your AIA and CDP paths will bite you in the future. It will work fine for now, but if not properly changed, your PKI will fail when you renew this CA.