79728940

Date: 2025-08-07 17:34:56
Score: 1.5
Natty:
Report link

Is there any reason you weren't using an Enterprise CA with certificate templates? All of the configurations you were adding to your INF file could be specified in a certificate template. To create the template, start by duplicating the "Workstation" or "Web Server" template since the enrollee is a computer. You could grant the target servers enroll permissions on that template.

Then, you can get certs using pure PowerShell (Administrative, since the key gets created in the machine store):

$Fqdn = [System.Net.Dns]::GetHostByName($env:computername).HostName
Get-Certificate -Template SharePointSts -CertStoreLocation Cert:\LocalMachine\My -DnsName ($fqdn, 'server1') 
Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (0.5):
Posted by: Mike Bruno