Search Support

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 replies
  • 4 have this problem
  • 8 views
  • Paskiausią atsakymą parašė whyN

more options

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?

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (5)

more options
more options

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?

more options

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:

more options

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?

more options

Chosen Solution

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