Microsoft "certutil -addstore" Command Options


How can I use Microsoft "certutil -addstore" command? What are command options supported by "certutil -addstore"? The document says "Add certificate to store".



Microsoft "certutil -addstore" command can be used to add, or import, certificate from a specified certificate file to a certificate store on the local Windows computer.

Here are options supported by the "certutil -addstore" command:

C:\fyicenter>\windows\system32\certutil -addstore -?

  CertUtil [Options] -addstore CertificateStoreName InFile
  Add certificate to store
    CertificateStoreName -- Certificate store name.  See -store.
    InFile -- Certificate or CRL file to add to store.

  -f           -- Force overwrite
  -enterprise  -- Use local machine Enterprise registry certificate store
  -user        -- Use HKEY_CURRENT_USER keys or certificate store
  -GroupPolicy -- Use Group Policy certificate store
  -gmt         -- Display times as GMT
  -seconds     -- Display times with seconds and milliseconds
  -v           -- Verbose operation
  -privatekey  -- Display password and private key data
  -dc DCName   -- Target a specific Domain Controller

2013-03-01, 5298👍, 0💬