Pcornel
Windows · Certificates

Computer Certificates

Cheat sheet · https://pcornel.dk/topic.php?topic=3219

Back to the Topic

Answer

Computer certificates live in the Local Machine store and are used by the system and services — IIS, RDP, LDAPS, IPsec, Wi-Fi and VPN machine authentication. Manage them with certlm.msc.

Remember

  • Services read certificates from the Local Machine store.
  • Autoenrollment through GPO renews them automatically.

First checks

  • Get-ChildItem Cert:\LocalMachine\My — machine personal certificates
  • Get-ChildItem Cert:\CurrentUser\My — user personal certificates
  • certutil -verify -urlfetch <file.cer> — chain and revocation check
  • Test-Certificate -Cert <cert> -Policy SSL -DNSName <name> — validate for a name

Verify in this order

machine certificate → private key → service binding

Where it usually breaks

First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3219

Confirmation

Confirm action

Continue?