How to install a certificate through a batch file?
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 get it now it's on github... would there be a simple place where I can download the executable file?
Прочетете този отговор в контекста 👍 0Всички отговори (5)
See Installing Certificates Into Firefox:
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?
Избрано решение
I get it now it's on github... would there be a simple place where I can download the executable file?