Mar 10

How to: Manage the Certificate Store on your local machine using the command prompt or PowerShell

How to: Manage the Certificate Store on your local machine using the command prompt or PowerShell

It seems that as of late I am playing a lot with certificates in order to authenticate traffic across the network. Some of the most useful shell commands I have found are listed below, hopefully they’ll help you manage your certificate store when using the UI is not an easy option:

List all the certificates in the store:

certutil -store | more (list cert store)

(or)

get-item Cert:LocalMachineMy*

 

Delete a particular certificate from the store:

certutil -delstore (Index#)

(or)

remove-item Cert:LocalMachineMy (thumbprint#)

 

 

Enhanced by Zemanta

Leave a Reply

%d bloggers like this: