Questions tagged [certutil]

Windows command for managing Certificate Services.

Certutil.exe is a command-line program that is installed as part of Certificate Services. You can use Certutil.exe to dump and display certification authority (CA) configuration information, configure Certificate Services, backup and restore CA components, and verify certificates, key pairs, and certificate chains. When certutil is run on a certification authority without additional parameters, it displays the current certification authority configuration. When cerutil is run on a non-certification authority, the command defaults to running the certutil -dump verb.

Useful links:

  1. CERTUTIL on technet.
  2. CERTUTIL on SS64 help pages.
99 questions
0
votes
1 answer

How to skip the input in batch file?

I have created a batch file (say test.bat). In test.bat I called the tool certmgr.exe to delete the certificate from the certificate store. But when multiple certificate in store with same name, then certmgr.exe, asking the option like which…
CrazyCoder
  • 772
  • 5
  • 11
  • 31
0
votes
1 answer

is it possible to add certificate extensions during signing process with microsoft ca?

I have been working on this task to sign a CSR (generated by third party) to be signed by a root CA, which is stored in a token. Sounds like a straightforward job, except that there is a requirement to add a set of extensions as well as subject…
r051cky
  • 115
  • 4
0
votes
1 answer

Firefox - add certificate with certutil.exe - Windows XP

I'm trying to import a certificate via cmd with certutil.exe After I tried this command: certutil.exe -A -n C:\Documents and Settings\xxxxx\Desktop\RootCert-somecert.cer -t c It returns me certutil.exe: function failed: The certificate/key database…
ciaodarwin
  • 483
  • 3
  • 7
  • 22
-1
votes
1 answer

Issues adding my own custom CA in Firefox after updating to newer version

I had Firefox 52.7.0 on my Linux host which is running fine. Also, I have my own CA certificate which I add using certutil command: $ certutil -d ~/.mozilla/firefox/profiledir -A -n myca -i ./myca.pem -t CT,, I can see myca it's being added by…
nochkin
  • 692
  • 6
  • 17
-1
votes
1 answer

Unhashing with certutil in batchfile

So I'm learning about hashing in Windows Batchfile and I was wondering if there is a simple way to unhash hashed text. To hash the text, I have been using this: set /p input=Text: echo %input%>%temp%\hashinput.tmp CertUtil -hashfile…
Immortal
  • 35
  • 6
-1
votes
1 answer

Remove white spacings from shell command

I am developing a shell script that executes a command a returns a checksum string. This string is has each hexa separated with white spaces, something that I would like to remove and have, for example, 4AA512, instead of 4A A5 12 as command output…
-1
votes
1 answer

Hi, I am getting the parameter is incorrect error for following code in certutil

I am new to certutil and I am getting the following error. Any help would be appreciated. certutil -view -restrict “Disposition=20,notafter=>1/17/2014,Certificate …
vishal
  • 1
  • 1
  • 1
-2
votes
1 answer

From VBA to CMD - how insert result of command to cell

In cell (1, 1) I paste way to file. Sub Command() Shell "cmd.exe /c CertUtil -hashfile " & Range("A1") & " SHA512 > d:\files.txt" End Sub When I push Run button, macro opens command prompt and use command "certutil -hashfile". But I can…
-3
votes
1 answer

Is there a base64 file encoding command that doesn't show up on screen?

I am well aware of certutil -encode, however in my use case I do not want the end user to see a console window open.
TheDude53
  • 27
  • 1
  • 4
1 2 3 4 5 6
7