Microsoft "certutil -encode" Command Options

Q

How can I use Microsoft "certutil -encode" command? What are command options supported by "certutil -encode"? The document says "Encode file to Base64".

✍: FYIcenter.com

A

Microsoft "certutil -encode" command can be used to convert a certificate file from binary format to Base64 (PEM - Privacy Enhanced Mail) format.

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

C:\fyicenter>\windows\system32\certutil -encode -?
Usage:
  CertUtil [Options] -encode InFile OutFile
  Encode file to Base64

Options:
  -f                -- Force overwrite
  -gmt              -- Display times as GMT
  -seconds          -- Display times with seconds and milliseconds
  -v                -- Verbose operation
  -privatekey       -- Display password and private key data

2013-03-06, 5090👍, 0💬