Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to install a certificate through a batch file?

  • 5 respostas
  • 4 have this problem
  • 128 views
  • Last reply by whyN

I have my certificate: name.cer

I need to install it through code. Is it possible to install it through a batch file? I need this to be automated for an application, else users will be forced to do it manually... which would be really bad...

thanks

I have my certificate: name.cer I need to install it through code. Is it possible to install it through a batch file? I need this to be automated for an application, else users will be forced to do it manually... which would be really bad... thanks

Chosen solution

I get it now it's on github... would there be a simple place where I can download the executable file?

Ler a resposta no contexto 👍 0

All Replies (5)

cor-el said

See Installing Certificates Into Firefox:

thanks, butthe certutil used in the link if for shell unless I'm wrong? With Windows it doesn't work. Or am I wrong?

You probably need to compile the code to get a working certutil.exe file. This utility needs to be used with the cert8.db file in the Firefox program, so you would first have to parse the profiles.ini file to get the location (file path) of the main profile folder.

See also:

cor-el said

You probably need to compile the code to get a working certutil.exe file. This utility needs to be used with the cert8.db file in the Firefox program, so you would first have to parse the profiles.ini file to get the location (file path) of the main profile folder. See also:

thanks for you answer again. I'm not sure exactly what you are saying there? Compile what?

Chosen Solution

I get it now it's on github... would there be a simple place where I can download the executable file?