This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

How to install a certificate through a batch file?

  • 5 antwoorde
  • 4 hierdie probleem
  • 8 views
  • Laaste antwoord deur 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

Gekose oplossing

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

Lees dié antwoord in konteks 👍 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

Gekose oplossing

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