TL;DR — Resumo Rápido

Como: Manage the Certificate Store on your local machine using the command prompt or PowerShell. Guia passo a passo com instruções detalhadas.

Nota: Este artigo foi publicado originalmente em 2013. Alguns passos, comandos ou versões de software podem ter mudado. Consulte a documentação atual de Windows Servers para as informações mais recentes.

Pré-requisitos

Antes de começar, certifique-se de ter:

  • Windows Server installed
  • Administrator access
  • Remote Desktop or direct console access

How to: Manage the (https://en.wikipedia.org/wiki/Junior_Certificate “Junior Certificate”) Store on your local machine using the (https://en.wikipedia.org/wiki/Command_Prompt “Command Prompt”) or (https://www.microsoft.com/powershell “Windows 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 (https://en.wikipedia.org/wiki/User_interface “User interface”) 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#)

   

Resumo