Friday, February 20, 2015

Powershell dumping all certs in the cert store

Put this on twitter just posting it here so I can find it later.

You can use powershell to list all the certificates on a host

powershell -Command Get-ChildItem -Recurse Cert: > certs.txt

If you are searching for something specific you can pass to findstr

powershell -Command Get-ChildItem -Recurse Cert: | findstr -i Superfish


1 comment:

Jaime Chiquita said...

I don't understand crypto, but here i post my certs :-)