Pcornel
Windows · Certificates

User Certificates

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

Back to the Topic

Answer

User certificates live in each user's Current User store and are used for things like email signing, EFS, smart card logon and client authentication. Manage them with certmgr.msc.

Remember

  • User certificates live in the user's profile.
  • Keys can be lost with a profile reset unless roamed or backed up.
  • Smart card certificates are on the card, not the disk.

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

user certificate in user store → used for user auth/signing

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

Confirmation

Confirm action

Continue?