Pcornel
Windows · Certificates

Personal Store

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

Back to the Topic

Answer

The Personal store holds certificates that have a private key for the user or computer, such as client authentication, server TLS or code signing certificates.

Remember

  • Certificates in Personal normally have a private key.
  • A non-exportable key cannot be moved to another machine.

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

certificate + private key in My store

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=3223

Confirmation

Confirm action

Continue?